teleren/devto huggingface dataset:
What is Azure Blob Storage?
Tags: beginners, dotnet, azure, blob
Published: 2023-11-09 19:02:49

Well, let's start from the basics.

**What is a blob?**
A blob is a binary, large object. For example, a pdf document will be stored in binary format. Basically, binary means 0s and 1s. The file is stored as huge amount of binary data.

**What is the purpose of Azure Blob Storage?**
Azure Blob Storage is designed for storing various types of files usually heavy in the size or showing a preview of the document.
User stores pdfs, images or other files and documents. These need to be stored in a common place. Some operations such as view, download, search are performed on these blobs.

Since files are stored as binary, searching the content that belongs inside the document is faster and easier. Azure Cognitive Search can be used to feed information to indexes.

**How is the structure of the Blob storage in Azure?**
In Azure, Blob Storage must have an account. 

There can be many containers under one account. Containers are logical separation of the blobs.

Single container can contain many files. Usually, common types of blobs are stored inside one container. For example, you can store extension wise files in various containers. 

**How cost for the storage is decided in Azure Blob storage?**
Data storage prices are decided as per _pay-as-you-go_ model.
To understand the exact pricing, we must understand the types of tiers that belong to Azure Blob storage first.

**_Premium tier_** - Fastest access compared to all tiers as SSD's are used to store the data but costliest option.

_**Hot tier**_ - Faster to access compared to below tiers but has higher cost than below tiers.

_**Cool tier**_ - Slower than Hot tier but it is cheaper than hot tier.

_**Cold tier**_ - Data retention period is more compared to the Cool tier and cheaper than the Cool tier.

_**Archive tier**_ - Need to hydrate the data in advance before accessing it so a slower option but it is cheapest among all.

Look at the table below: 

![Image description](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/ypnfkhc8469z3sl88p2a.png)
 
[For further understanding please _ref:_ https://azure.microsoft.com/en-in/pricing/details/storage/blobs/]

We will be looking at **how to setup** Azure Blob storage account on Azure Portal.

1) Search "storage account" in search box. Click on "**Storage accounts**".

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

2) Click on **+ Create**.

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

3) Fill the mandatory information as follows and click on **Review**. 

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

4) Click on **Create**.

![Image description](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/yp1nwnli4ptfeuklzyso.png)
Personal Project Domain Ideas for Computer Science Students
Tags: coding, programming, developer
Published: 2023-11-09 18:59:20

## Web Development
You could make a project that is a website. You can make the project more fun by creating a UI that is unique and complex while being eye-catching as well. And you can use an API to make the project more advanced. Furthermore, you can use a database and perform CRUD operations in the web app. You can use trending UI frameworks like Angular, React, Vue or Qwik. You can also use trending backend technologies like Go, Node.js, Django, etc. 

## Android Development
You can make an android app using Android Studio + Java + XML or Android Studio + Kotlin + XML. You can use Firebase real-time database in your app or any other features that Firebase provides. You can perhaps use the Google Maps SDK in your app to show-off your integration skills. Again, you can create an android app which uses APIs, smooth UIs and databases. You can provide features like notifications.

## Augmented Reality Development
You can create AR apps using Unity and C# along with AR SDKs like EasyAR SDK or Vuforia SDK. Or you can use Unreal Engine and C++. You can build your own 3D models for your app, this will add more value and a personalized touch to your app. To build your own 3D models, you can use software like Maya, Blender, MagicaVoxel, VoxEdit, etc.

## Data Science Projects
You can create data analysis or ML projects. You can make use of technologies like Python, R, SQL, Julia, Excel, PowerBI, Tableau etc. You can use software like Jupyter Notebook, PyCharm, etc. Some example data analysis projects could be analyzing COVID-19 data, stock market analysis, cryptocurrency price analysis, twitter sentiment analysis, etc. Some example ML projects could be mask detection, predicting marks of a student based on the number of hours they studied, song recommendation system, plant disease detection, etc.

## Mobile Application Development
You can make hybrid mobile apps using React Native + JavaScript + JSX or you can use Flutter + Dart. Try creating buttery smooth UIs, unique features, etc. Again, use APIs, databases, external SDKs, etc. Some example projects could be weather app, news app, random joke generator, restaurant app, messaging app, online courses app, etc. You could try publishing your app to the Google Play store after building it for android. Also, try building the app for iOS and publish it on the Apple App store.
Tô meio perdido, necessito de um resgate .
Tags: discuss, github, javascript, programming
Published: 2023-11-09 18:57:14

Olá, povo lindo. Tudo bem ? Espero que sim. Enfim, eu comecei não tem nem um mês na programação e só tenho a lógica como base, eu fiz um bootcamp da Dio para sair do zero e me ajudou muito e também entrei em um curso de desenvolvimento Web e Cloud Aws da Proz Talento, que terá início ainda esse mês, entretanto até eu começar esse novo curso eu estou perdido, não sei mais por onde seguir e o que estudar, quero me aprofundar na área porque almejo um emprego na programação, sei que vai ser um caminho difícil, mas estou disposto a enfrentar, porém peço ajuda de vocês para me darem uma luz do que fazer daqui para frente. Grato!
Obs: pretendo me especializar em front-end com Javascript, HTML e css e futuramente quando eu tiver uma base boa com esses 3 e sem pressa ir para o python.
MySQL Source Control: Manage Database Versions in the Easiest Way
Published: 2023-11-09 18:44:26

With support for all popular version control systems, such as Azure DevOps Server (formerly known as Team Foundation Server), Apache Subversion (SVN), TFVC, Git (including GitHub, GitLab, and Bitbucket), Mercurial (Hg), Perforce (P4), and SourceGear Vault, Source Control is an integrated feature of dbForge Studio for MySQL that was created to simplify and streamline database version control.

With Source Control, completing the following activities is a breeze:

- MySQL schemas with version control and data from static tables

- Control versioning of databases using either the dedicated or shared development approach.

- Adopt and undo modifications while keeping dependence awareness in mind.

- Quickly compare the versions of databases

- Visually resolve disputes and reconcile schema and data discrepancies

- See the history of modifications

- Automate the development of MySQL databases in a DevOps cycle.

Learn more: devart.com/dbforge/Mysql/Studio/Mysql-Version-Control.html
Adding testing for my java project
Tags: opensource, java, testing
Published: 2023-11-09 18:25:37

This week I leaned and practise to add testing for my project [ConvertTxtToHtml](https://github.com/WangGithub0/ConvertTxtToHtml).

**First, I chose a testing framework for my java project.** [JUnit](https://junit.org/junit5/) is the most pupular testing framework for java. 


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




Because I only wanna use the cmd java test, so I chose Junit4 which supports [Plain-old JAR](https://github.com/junit-team/junit4/wiki/Download-and-Install). I did test according to the [Getting started](https://github.com/junit-team/junit4/wiki/Getting-started) document. 
But when I ran the `javac -cp .:junit-4.XX.jar:hamcrest-core-1.3.jar CalculatorTest.java` I got the error message `CalculatorTest.java:4: error: package main does not exits`. I tried to reorganize the folder and set Path according to others' experience [1](https://stackoverflow.com/questions/40690196/junit-testclass-does-not-recognize-class), [2](https://stackoverflow.com/questions/62028470/cannot-find-a-symbol), but it still did not work.


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


After more than half a day of searching and experimenting, I finally figured it out according to the [FAQ install](https://github.com/junit-team/junit4/wiki/FAQ#getting-started) 


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


After adding JUnit to the classpath:`export CLASSPATH=$CLASSPATH:$JUNIT_HOME/junit.jar`, I finally could run the sample test successfully.

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

Then I ran my sample test successfully.

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


**Then I wrote my First Test.** This is my first time to do java testing, I chose the simplest area of my code, input parameter. I used the `assertEquals` to check the output of the version command.

At last, I wrote testing for the Core of my app. I created a textfile and using `processFile` function to create the html result file, then read the file to check the basic html element.

Luckily my two tests are both pasted and I updated the whole testing process in my CONTRIBUTING file.

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

By doing this testing, I know strengthening my knowledge of Java fundamentals was crucial to improving my programming skills. Understanding Java basics and becoming familiar with various types of errors are important steps in improving my problem-solving skills. Embracing these elements not only gave me a solid foundation, but also equipped me with the skills to effectively tackle complex coding challenges.
Challenges that developers face
Tags: discuss, development, coding
Published: 2023-11-09 17:43:19

I think software development is a profession where we are not paid just for what we know but we are also paid for our capability to learn things that we don't know. Because software development is a field which has been changing and evolving faster than any other field out there. Why it's like this, I don't know. But I do know that software development is a field where we face hurdles constantly. Some of the challenges which I face as a developer are:

- Errors. Errors are irritating. But I feel like the more errors we solve, the more easy it becomes to solve them.

- Tutorial hell. I know many people have this challenge. This is when you keep doing online courses to acquire skills but all you acquire are certificates.

- Other people's code that is un-understandable. When you are new to a company and they already have a codebase that you have to work on and no-one gives you KT and the code is not commented, this is the actual hell.

- New tech which even ChatGPT doesn't know. There aren't many YouTube videos on it and the documentation is generic. 

- People telling that your app or whatever you have developed is "basic".

- Designers giving revisions for minute things and over-scrutinizing the pages you have developed.

- Not receiving appreciation. Mostly, during code reviews or design reviews, people tend to point out the small faults and never seem to appreciate the bigger picture.

- Resistance. When you don't know how to do something, you obviously will have resistance towards doing it. And in our field, most of the times we don't know how to do some or the other thing.

What are some challenges which you have faced as a developer? Leave them in the comments!
cabo de rede duplo, um cabo 2 pontos de rede.
Tags: gambiarra, double, ethernet, cable
Published: 2023-11-09 17:15:24

**original post 02/05/2010 rafaelgimenes.net**
Em casa possuo um roteador, mas meu desktop utiliza de cabo de rede por motivos de downloads etc, não curto muito wireless em desktop ainda não confio nisso.
Agora eu encomendei um módulo de rede para brincar com o arduino, ou seja necessitaria de outro cabo de rede saindo  do quarto do meu pai para o meu quarto.
Porém o cabo tem quatro pares, mas  rede categoria 5 e utiliza somente 2 pares para funcionar,  então porque eu iria passar outro cabo sendo que temos ali 2 pares inutilizados.
Eu sempre utilizei o padrão de cores  A,  então dando uma relembrada em TX e RX, cheguei a seguinte combinação.

Pino / Cor / Status
1 / Branco  Verde / TX +
2 / Verde / TX –
3 / Branco Laranja / RX +
4 / Azul / não utilizado
5 / Branco Azul / não utilizado
6 / Laranja / RX –
7 /Branco Marrom / não utilizado
8 / Marrom / não utilizado

Ou seja o que interessa pra gente é o pino 1 e 3,  2 e 6, então mantive o esquema de cores do padrão, e no segundo cabo fiz o seguinte esquema:
Pino / Cor / Status
1 / Branco Azul/ TX +
2 / Azul / TX –
3 / Branco Marrom / RX +
4 / não utilizado
5 / não utilizado
6 / Marrom / RX –
7 / não utilizado
8 buy drugs online / não utilizado

Material utilizado:  alicate Crimpador, 4 conectores RJ45, * cola quente e fita isolante.
* Como os espaço dos conectores ficaram vazios pois foi utilizado somente 2 pares eu preenchi internamente no conector

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

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


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

com cola quente deixando assim bem fixo e firme os pares. É um dispedicio usar deixar 2 pares lá nulos, com esse esquema economizei um cabo, a questão não é o dinheiro mas sim espaço e organização.
Updating WP Permalinks
Tags: wordpress
Published: 2023-11-09 17:11:56

After registering a new custom post type, the first thing you will probably do is add a couple dummy posts to test it out and make sure things are working as expected. You then visit the page after creating a dummy post, and notice that none of the content is displayed, and the title of your tab says "Page Not Found".

## How to fix

In order for WordPress to recognize your new post's url, you have to regenerate your website's permalinks, which is very easy to do.

In the WP Admin sidebar, point to Settings, click on Permalinks, and then click the Save Changes button. This will regenerate the permalinks, and now, if you go visit your page, the content should appear.
executando comando em um novo terminal
Tags: terminal, new, command, linux
Published: 2023-11-09 17:11:14

_original post 01/12/2009 rafaelgimenes.net_

Dica rápida que salvou minha vida hoje em uma aplicação, é executar com comando em um novo terminal. Geralmente é a opção “-e” do seu terminal.
Eu uso o xterm, hoje tive que fazer um shell script que teve que ser aberto em uma nova janela, então usei essa instrução:

```
xterm -e comando &
```

Dentro do meu shell script ficou mais ou menos assim:

```
xterm -e sh segundosh.sh &;
```

Não posso usar o meu exemplo que fiz por se tratar de um sw da empresa, e um exemplo didático não me vem a  cabeça mas fica a dica.
Embracing the Future with Progressive Web Apps
Tags: javascript, webdev
Published: 2023-11-09 16:58:52

In the evolving landscape of web development, Progressive Web Apps (PWAs) stand out as a transformative step towards a seamless user experience across all devices. Our latest project has been a deep dive into the world of PWAs, and we're excited to share our insights and the innovative solutions we've uncovered.

Why PWAs?
The allure of PWAs lies in their hybrid nature. They offer the reach of a web app with the engaging experience of a native app. No app store hurdles, no hefty downloads—just pure, streamlined access.

Design Philosophy
Our design philosophy was clear: create an app that's as comfortable on a desktop as it is on a smartphone. A responsive, app-like interface was paramount, and we achieved this through a meticulously crafted app shell architecture that ensured consistent, rapid loading.

The Core: Service Workers
Service workers are the linchpin of PWAs, managing resource caching and offline functionality. Our approach was strategic, prioritizing the caching of essential assets to enable instant and reliable access to the app's core features.

Engagement through Notifications
We leveraged the power of Web Push Notifications to keep our users informed and engaged. This feature has been crucial in maintaining user interest and ensuring that they return to the app.

Performance as Priority
Speed and efficiency were our guiding stars. Every line of code was scrutinized, and every image was optimized. We embraced best practices like code splitting and lazy loading to enhance performance without sacrificing quality.

Security and SEO
With great power comes great responsibility. Implementing HTTPS was non-negotiable for us, ensuring that all communication is secure. Additionally, we fine-tuned our content for search engines, making sure our PWA was as discoverable as it was accessible.

Looking Ahead
The launch of our PWA is just the beginning. We are committed to continuous improvement, guided by user feedback and performance metrics. Our journey is ongoing, and we believe PWAs are a significant step towards a more unified and efficient web experience.

We invite you to experience our PWA and see the difference for yourself. As we continue to innovate and push boundaries, we're eager to share our learnings and help shape the future of web development.

Stay tuned
How it went Today ! And Happy Diwali in Advance
Tags: coding, holidays, programming, webdev
Published: 2023-11-09 16:55:44


_**On November 9, 2023**_, as I was going to college, I felt a bit sad. Lots of students were happily going back to their hometowns for **Diwali** as it is coming in few days, carrying trolley bags and campus felt so empty. It made me miss home. But no worries, I've decided to go home tomorrow too.😎

![campus](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/6rdy2grr6006vsjkgvea.jpg)

At 10:05 PM on the same day, I'm winding down my day by penning this blog. Unfortunately, I didn't accomplish many tasks today as I fell sick upon reaching my dormitory, courtesy of seasonal allergies. Consequently, I opted for some much-needed rest.

Since I don't have much to write about today, let's delve into the **_Festival of Lights—Diwali._**

Diwali, also known as the Festival of Lights, is a culturally significant celebration in India. _**This year, Diwali will be celebrated on November 12, 2023.**_ This festival holds deep-rooted historical and religious significance  marking the victory of light over darkness and good over evil. It is commonly associated with the triumph of Lord Rama over the demon king Ravana, as recounted in the epic Ramayana. 

![Diwali Lord Rama, Ramayana](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/18z2jb5b8c1oyysaxs2c.jpeg)
Beyond its religious origins, Diwali also symbolizes the beginning of a new year and is a time for family gatherings, feasts, firing crackers and the exchange of gifts. ([Sonpapadi](https://upload.wikimedia.org/wikipedia/commons/d/df/Son_papadi.jpg) is a famous sweet in India, that is exchanged the most in Indian households and among neighbours😂) 

The lighting of oil lamps, decorating homes with colorful rangoli, and bursting fireworks are traditional customs that add to the festive spirit, fostering a sense of unity and shared joy among communities across the country. 

Diwali serves as a reminder of the enduring values of compassion, hope, and the triumph of righteousness, making it a cherished and widely celebrated occasion in the diverse tapestry of **Indian culture.**

Sincerely,
Abhishek😉

![Diwali](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/aqbjxnyuetg74o7pydxp.jpg)
In less than 20 mins create a native iOS Bitcoin/Lightning wallet using LDK Node with Swift
Tags: ios, tutorial, swift, programming
Published: 2023-11-09 16:50:50

iOS Devs! In less than 20 mins, Matthew Ramsden shows how to create a native iOS Lightning wallet using LDK Node with Swift.

- Build & Start Node
- Receive Sats
- Open Channels
- Send Payments

https://www.youtube.com/watch?v=rcU3LU6iZCs
generate media file list
Published: 2023-11-09 16:50:23

_Original post 23/11/2009 rafaelgimenes.net_

```
#!/bin/bash
#gerarListaMidia.sh
#gera lista de MP3, filmes, e Bootlegs de Rock;
#2009-11-23, por rafael gimenes | falecom@rafaelgimenes.net
VERSAO="0.5";
echo "----------------------------"
echo "GerarListaMidia v$VERSAO"
echo "----------------------------"

#caminhos
caminho_mp3="/media/Tandera/_Mp3/"
caminho_filmes="/media/Tandera/_Videos/Filmes"
caminho_desenhos="/media/Tandera/_Videos/Desenhos"
caminho_showsclipes="/media/Tandera/_Videos/Musica"
caminho_arquivosaida="/home/rgimenes"

#mensagens
msg_cabecalho="Lista de arquivos de Rafael Gimenes | contato: falecom@rafaelgimenes.net"
msg_sobre="Por rafael gimenes | falecom@rafaelgimenes.net"

#funcao que gera a lista de mp3
r_gerarmp3() {
nomearquivo="listaMp3.txt"
echo $msg_cabecalho > $caminho_arquivosaida/$nomearquivo;
tree -d $caminho_mp3 >> $caminho_arquivosaida/$nomearquivo;
echo $msg_sobre >> $caminho_arquivosaida/$nomearquivo;
echo "FIM MP3";
}

#funcao que gera a lista de bootlegs
r_gerarshowsclipes() {
nomearquivo="listaShowsClipes.txt"
echo $msg_cabecalho > $caminho_arquivosaida/$nomearquivo;
tree $caminho_showsclipes >> $caminho_arquivosaida/$nomearquivo;
echo $msg_sobre >> $caminho_arquivosaida/$nomearquivo;
echo "FIM Shows e Clipes";
}

#funcao que gera os Filmes
r_gerarfilmes() {
nomearquivo="listaFilmes.txt"
echo $msg_cabecalho > $caminho_arquivosaida/$nomearquivo;
tree $caminho_filmes >> $caminho_arquivosaida/$nomearquivo;
echo $msg_sobre >> $caminho_arquivosaida/$nomearquivo;
echo "FIM Filmes";
}

#funcao que gera os Desenhos
r_gerardesenhos() {
nomearquivo="listaDesenhos.txt"
echo $msg_cabecalho > $caminho_arquivosaida/$nomearquivo;
tree $caminho_desenhos >> $caminho_arquivosaida/$nomearquivo;
echo $msg_sobre >> $caminho_arquivosaida/$nomearquivo;
echo "FIM Desenhos";
}

r_gerarfilmes;
r_gerardesenhos;
r_gerarmp3;
r_gerarshowsclipes;
echo "Arquivos gerados com sucesso";
ls $caminho_arquivosaida/*lista*;
echo "Economizou tempo :)";
```
Perl Advent Calendar
Tags: perl
Published: 2023-11-09 16:36:36

## Blogging here or there
If in 2023 I did almost no blogging at all, in 2022 I produced a decent number of posts, but not all landed on DevTo! 

Late 2022, I helped to make the Perl Advent Calendar tradition to run once again :santa:

2022 be like:
![Blog on Devto / Blog on Perl Advent Calendar](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/i4qe59m158rdr780xp1l.jpg)

Believe me, all articles in [Perl Advent Calendar](https://perladvent.org/2022/index.html) deserve a read. But let me share mine :grinning:
- [Santa is On GitHub](https://perladvent.org/2022/2022-12-03.html)
- [Catching Dreams](https://perladvent.org/2022/2022-12-05.html)
- [The Sleigh Odometer](https://perladvent.org/2022/2022-12-07.html)
- [The Christmas Time Machine](https://perladvent.org/2022/2022-12-10.html)
- [The Delivery Map](https://perladvent.org/2022/2022-12-12.html)
- [TWVycnkgQ2hyaXN0bWFzIDop](https://perladvent.org/2022/2022-12-18.html)

This year, I'm not planning to contribute but please give them force and think about [contributing yourself](https://github.com/perladvent/Perl-Advent/issues/new?assignees=&labels=article&projects=&template=i-want-to-write-an-article.md&title=)!