teleren/devto huggingface dataset:
The 43rd Day of the 100 Days of Code Challenge
Published: 2023-07-25 00:05:59

Hey everyone!

Writing this at 1:45AM, was out all day today but flying home from this vacation tomorrow! Did nothing much other than test the real-time transcription application I'm working on in terms of transcription formatting and providing a smooth disconnection experience when for some reason, I re-tried working with nothing but threads to handle the receival of chunks. I was sure that it was blocking the main thread because of the GIL, but everything seems to have changed now that I changed one line of code yesterday, can't find another explanation. I'm working with an RxPY pipeline, and I must have misunderstood how it works. It's kind of killing my brain haha, spent so much time wondering why it wasn't working and concluded that it was due to the GIL limitations when multi-threading.

However, even without that change, it seems like it's working with threading. I could've sworn that it wouldn't work using threading. My brain is a bit fried from having seen this but I hope to understand why it didn't work up until now! This makes the application's flow so much easier to understand.

Hope this remains the case tomorrow! We never know!

Excited to finish this! Ending early as the flight leaves in the morning :)

Happy coding everyone!
Database Schema Diagram, API Endpoints, Component Hierarchy, Wireframes
Published: 2023-07-24 23:27:37

We started the day by creating a vital foundation for the application - the database schema diagram. This diagram laid out all the planned tables, columns, and relationships, providing a visual representation of how the data would be structured within the application, then collaborated to ensure that all necessary components were accounted for in the schema. 

Next on the agenda was the creation of a Google sheet outlining the planned API endpoints. These endpoints were essential for communication between the frontend and backend of the application. The sheet listed each endpoint, its corresponding HTTP method, and a brief description of its purpose. Additionally, sample request and response data were included to provide a clear understanding of how the API would function.

Then delved into the frontend development aspect by creating the initial draft of the component hierarchy. This hierarchy was a visual representation of how different components of the application interacted with each other. It outlined the client-side routes and showed the planned top-level components and their nested subcomponents/routes. 

With the component hierarchy in place, we moved on to sketching wireframes for the user interface. Wireframes were simple, low-fidelity drawings of the application's layout and design. They helped visualize the placement of elements and the overall user experience.
Getting to know JAVA
Tags: java, fullstack
Published: 2023-07-24 23:26:32

I have recently been accepted to a full-stack developer apprenticeship. Although I am excited about this awesome opportunity, I am equally as nervous because I will be undergoing some rigorous training with a completely different stack than I'm used to, starting with Java.

I am currently trying to get ahead of the curve by learning some Java fundamentals with Codecademy.  

##TIL

Today I learned about:
* Classes
* Print Statements
* Compilation
* Javadoc Comments

###Classes
I understand classes to be abstracted pieces of code.
The part of classes that I need to be more comfortable with is writing the full defining syntax.
```
public class myClass {
  public static void main(String[] args) {

  }
}
```
I haven't looked into it yet but, I'm hoping that working on Java code with an IDE will auto write things like this.

###Print Statments
I am used to using console.log in Javascript and _print_/_puts_ in Ruby and also _return_ to display data or information but Java uses **System.out.println** and **System.out.print** and each has a subtle difference.

* **System.out.println()** - will print to the console and then create a new line.
* **System.out.print()** - will print everything on the same line.

###Compilation
_The compiling process catches mistakes **before** the computer runs our code._

Java is a compiled programming language.  Although, Codecademy has automatically compiled and run the files for me, I was also able to compile and execute some files myself.

To compile a file, first use the terminal command:
  **javac FileName.java**

A successful compilation produces a **.class** file (FileName.class).

Afterwards, to execute it, use the terminal command:
  **java FileName**

An unsuccessful compilation should produce a list of errors.

###Comments
Apart from the usual suspects *(single and multi-line comments)* Java also has another comment called **Javadoc comments**.

A Javadoc comment is represented by using the **(/**)** and **(*/)** symbols.

They are used to create documentation for APIs.  When writing Javadoc comments, its important to remember that htey will eventually be used in the documentation that your users might read so it's important to make sure to be especially thoughtful when writing these comments.

These comments are typically written before the declaration of fields, methods, and classes.

I am excited to continue learning more and will do my best to keep documenting my progress.
Data Science Zero to Hero - Foreword
Tags: machinelearning, datascience, ai, beginners
Published: 2023-07-24 23:04:20

Wow, it's been such a long time since I made a post here. I've been working hard, learning a lot, and I'm pleased to share that I have made sizeable strides into the world of Data Science!

Since I've been gone, I saw that according to my post statistics I have totaled over 100k views! That's so amazing. Speaking of statistics, they have been on my mind for the past year! You might be wondering though, why? Well, statistics is truly the heart of the scientific method, and plays an integral role in Artificial Intelligence, Machine Learning and Data Science.

![scoobydoomeme](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/079ozabzallkr4316khb.png)

Today I'll be starting a new series called "Data Science Zero to Hero" where I will be breaking down popular concepts so that those who are interested in learning about ML, AI and data science can learn in a guided way without any prior knowledge. It's also worth noting that these terms are often used interchangeably, but are not necessarily the same things.

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

Artificial Intelligence (AI) is a broad concept focused on creating machines that can mimic human thinking, reasoning, and behavior. On the other hand, Machine Learning (ML) is a subset of AI where computer systems learn from their environment, using these learnings to enhance experiences and processes. It's important to note that all ML is AI, but not all AI involves ML.

Data Science, in contrast, involves processing, analyzing, and extracting relevant insights from data. Data Scientists utilize machine learning techniques to predict future events by uncovering hidden patterns in the data.

## A little bit about myself...
Just a little bit of background into what I learned so far - I took MIT's online Applied Data Science course and learned tons. If anyone is interested in an introduction to learning Data Science, I would definitely recommend it.

My goal is to learn by teaching, and to help those who are intimidated by complex technical concepts. I hope that you're as excited as I am! Thanks for reading!
Update myFiles to ALPHA 1.3
Tags: tooling, news, programming
Published: 2023-07-24 22:21:06

**Try myFiles ALPHA 1.3 for free in the link at the end of the post.**

This is the updates of the 1.3 ALPHA of myFiles. Now you can:

- Resize the window vertically
- Rescale the window with Ctrl + Alt + Mouse Wheel

I also fixed some bugs but not a major update.
myFiles itch.io page: https://blueberry077.itch.io/myfiles

As you may know, if you have any feedbacks comment it in the post.

Thanks everyone :D
Deploy a Finance News Microservices app
Published: 2023-07-24 22:20:32

Hi, I wrote a microservices app that listens to finance news and if its significant alerts the user via discord.

It uses microservices, sentiment-analysis and more!

I deployed it using my deployment platform at https://micromesh.dev

Source Code: https://github.com/yairyairyair/micro-mesh-finance-news-stream

Link to the full blog
https://docs.micromesh.dev/example-projects/finance-news-project

Would love to hear any feedback, thanks! :)
How does Terraform fit in your infrastructure?
Tags: terraform, infrastructureascode, devops
Published: 2023-07-24 22:05:09

Imagine a world where your IT team can effortlessly provision and manage your infrastructure using the latest tool.

**With Terraform, you can.**

This infrastructure automation is one of the pillars of implementing DevOps practices in your project, so choosing the right technologies is crucial.

**Terraform** is a powerful tool that helps employees work in IT operations, provision, upgrade, and maintain infrastructure.

It has its domain-specific language called Hashicorp Configuration Language (HCL). This is a fully JSON-compatible language that helps DevOps professionals to define the #InfrastructureAsCode.

### How does Terraform integrate? 
For a successful Terraform implementation, it’s important to understand how it fits into your infrastructure. To sum up, Terraform integrates with the standard CI/CD pipeline.

It plays a significant role in the Continuous Deployment part of the pipeline, where it is responsible for provisioning instances on Amazon’s ECS cluster. Terraform also quickly spins up to three parallel Dev, UAT, and Prod environments in this scenario.


![Terraform implementation ClickIT](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/w3nwpn4j4k7tcitaukq9.png)

Overall, it’s a great tool for a flexible, automated, and secure infrastructure. 

Now, if you had to choose between **Terraform** and **CloudFormation**, which one would you go for? 

Here is a full comparison, check it out: https://www.clickittech.com/devops/terraform-vs-cloudformation/?utm_source=devto&utm_medium=referal

Want to incorporate Terraform in your project? Click here to learn more: https://www.clickittech.com/?utm_source=devto&utm_medium=referal&utm_content=footer
XRP/L COMICBOOK/MANGA METAVERSE
Published: 2023-07-24 21:58:06

1ST GLOBAL XRP/L META-VERSE EXCLUSIVELY FOR COMIC-BOOKS/MANGA/A.I. 4-D SCAN/GRADING/PUBLISHING/RETAIL/PHYSICAL/DIGITAL<NFT'S>/ARTIST'S/COS-PLAY MODELS+MORE!!!
<
<WHERE VISION<R>QUANTUM REALITY
<
LagoonCon Recap
Tags: event, community, conference, drupal
Published: 2023-07-24 21:57:00

If you weren't able to make it to LagoonCon, check out the recap over on the amazee.io blog: https://www.amazee.io/blog/post/recap-the-first-ever-lagooncon

And if you're going to DrupalCon Lille, we'll be hosting another awesome event focused on Lagoon and the composable web, so stay tuned!
Guide to Generating SSL Certificates Using OpenSSL for Web Applications
Tags: opensource, tutorial, devops, security
Published: 2023-07-24 21:51:11

**Introduction:**
Ensuring secure communication between web applications and users is vital in today's cyber landscape. SSL certificates play a crucial role in encrypting data and providing a secure connection. In this article, we'll walk you through the step-by-step process of generating self-signed SSL certificates using OpenSSL, a versatile open-source tool for cryptographic operations.

**Step 1: Install OpenSSL and Prepare Your Environment**
First, make sure you have OpenSSL installed on your system. You can download and install it from the official OpenSSL website. Once installed, set up the environment variables to run OpenSSL commands from your command prompt or terminal.

**Step 2: Generate the Private Key and Certificate Signing Request (CSR)**
To create a self-signed SSL certificate, use the following command:

```bash
.\openssl.exe req -x509 -newkey rsa:4096 -keyout wckey.pem -out wccert.pem -sha256 -days 365
```

You'll be prompted to enter the following information:
- Country Name (2 letter code) [AU]: NZ (For New Zealand)
- State or Province Name (full name) [Some-State]: Wellington
- Locality Name (eg, city) []: Wellington
- Organization Name (eg, company) [Internet Widgits Pty Ltd]: ProvokeSolutions
- Organizational Unit Name (eg, section) []: WaterCareProject
- Common Name (e.g. server FQDN or YOUR name) []: uat.watercare.co.nz
- Email Address []: intikhaba@provoke.co.nz

Additionally, set a passphrase (PEM phrase) to protect your private key.

**Step 3: Verify and Save the Certificate**
Once you've provided the required information and passphrase, verify the details and confirm the generation of the certificate. The private key will be saved in the "wckey.pem" file, and the self-signed certificate will be stored in "wccert.pem."

Step 4: Convert the Certificate to the Desired Format
If you plan to use the certificate in other environments, you can convert it to the DER format with this command:
```bash
.\openssl.exe x509 -in wccert.pem -outform DER -out wccertificate.crt
```
The "wccertificate.crt" file will now be available in the DER format.

**Conclusion:**
You've successfully generated a self-signed SSL certificate using OpenSSL, enhancing the security of your web application. While self-signed certificates are suitable for testing and development, for production, consider obtaining a certificate from a trusted Certificate Authority (CA). With this newfound knowledge, you can safeguard sensitive data and ensure secure communication between your web application and its users.
How to Save the Data in IPFS Using the Pinata(2023)
Tags: webdev, blockchain, cloud, nextjs
Published: 2023-07-24 21:32:46

Hello Everyone! Thank you for your interest in my article.
This is [Crypto Ninja](https://github.com/CryptoNinja0617)'s first article.
And I hope my experience will help you.

In this guide you'll learn how to create [Pinata](https://www.pinata.cloud/) public and private Api keys and secret keys. We'll also look at how to use these keys in NFT Marketplace.

Generally, developers save data in IPFS using the Infura.
But we can save the data using the Piñata. 
If we use Piñata API, first we have to create account in [Piñata Cloud](https://app.pinata.cloud/).
If you create a piñata cloud account, you can see a screen as follows.
![Image description](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/quxbifi4q817vwcofiks.PNG)

And then let's create API Keys.
First click "Api keys" button on left slider bar and then click "New Key" button on right top.
You can see a screen as follows.

![Image description](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/8d9e6s2rglxlw1sietcb.PNG)

Type key name in "Key Name" field and then click "Create Key" button.
Now is important.
![Image description](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/xixpg13d80p7pgencbz1.PNG)

You can see three keys.(API Key, API Secret, JWT).
You have to copy and save these!

---

We just created piñata cloud account and API key, Secret key and JWT.
To be next, let's see how to use them. 

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

This is the Pinata.ts file.

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

This is the part that use Pinata API Key, Secret Key and JWT.

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

![Image description](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/rn1illiudhjamjj3dqum.PNG)
Here is the [repo](https://github.com/CryptoNinja0617/nftm)
Until here, we saw how to create piñata cloud account and API Key, Secret Key and JWT and then how to use these Keys.
Thank you again for your time to read my article.
Day 789 : The Long Route
Tags: hiphop, code, coding, lifelongdev
Published: 2023-07-24 21:18:38

_liner notes_:
- Saturday : Did some errands before heading to the station. Got to the station and did the radio show. We talked about how people are literally trying to rewrite history. We live in some wild times! The recording of this week's show is at https://kNOwBETTERHIPHOP.com


![Radio show episode image of a glass filled with stout beer with the Guinness label on it with the words July 22nd 2023 Personal Benefit](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/5r02ix7mw032pl2xkurx.jpg)

- Sunday : Had a pretty productive and good day. Did my https://untilit.works study sessions and got a bunch done with my side project. Pretty much finished all the admin dashboard functionalities and start working on the front end. Spent the rest of the night watching anime.

- Professional : Today I had a couple of meetings with folks to discuss things coming down the line. Spent the rest of the day working on filling out some documentation for a sample application I made and started working on refactoring a couple of more demos so that they will be easier to deploy.

- Personal : Started doing some layout designs for the front end of my side project. I'm going to keep it pretty basic since if someone else wants deploy it themselves, they won't have to undo too many things to style it anyway they would like.

![Mountainous landscape of Fassa Valley, Italy with tree covered hills in the foreground, green fields in the mid-ground and stone mountains in the background under blue skies with large fluffy white clouds.](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/709kc29x8jszzw29o53z.jpg)

I think I may have a good idea of how I want the first few pages for the side project. I'll working on fleshing it out some more. Probably pull ideas from previous projects to put something together. Definitely don't want to take the long route on this. I want to see if I can get something working this week. Also, want to check out some tracks for the radio show and watch either an anime or a movie.

Have a great night!

peace piece
Dwane / conshus
https://dwane.io / https://HIPHOPandCODE.com
{% youtube gwVBmsfAFBo %}
Ng-News 23/29: Signal Component delayed, Signal & RxJs by Mike Pearson
Tags: webdev, javascript, programming, angular
Published: 2023-07-24 21:01:41

The Signal Component might ship in Angular 17. Mike Pearson on Angular's simplification due to Signals. Jecelyn Yeen presented the latest features in Chrome DevTools.

{% embed https://youtu.be/FjfGQGp_y_c %}

## Signal Component Delayed

First, let's start with Signals. Minko Gechev, Angular product lead, announced that the Signal component will probably not be part of Angular. 17. The Signal component is a new component type and will unleash the full potential of Signals.


{% embed https://twitter.com/mgechev/status/1681377104607461377?t=ln_cdOCvprl9mDtSPbqvhQ&s=19 %}

## Signals make Angular much easier

Signals will impact our applications. Existing patterns might become unnecessary or need adaptation. Especially the usage of RxJs will change. How? We have to discover that together as a community.

The latest contribution to the exploration comes from Mike Pearson, the creator ofof State Adapt, a state management library.

In his article "Signals make Angular much easier", he demonstrates the challenges we face with RxJs regarding straightforward problems. Signals simplify things but also come with limitations, which he will address in upcoming articles.

{% embed https://dev.to/mfp22/signals-make-angular-much-easier-3k9 %}

## Chrome DevTools Latest Features

Jecelyn Yeen presented the updates of the Chrome DevTools since version 113. We can now override Response Headers. This comes in very handy for CORS issues.


Core Web Vitals are three performance-related metrics. The Interaction to Next Paint (INP) will replace the First Contentful Paint next year. With the latest Chrome version, you can measure it already today.

{% embed https://youtu.be/e8tl_yp5BQg %}

## Architecture Twitter Space

And if you are interested in DDD, hexagonal architecture, and nx, listen to the Twitter Space recording hosted by Daniel Glejzner.

{% embed https://twitter.com/DanielGlejzner/status/1682090161704673284 %}

## Minor Releases

Other than that, we had new minor releases such as Ionic 7.2 and Jasmine 5.1.


Ionic: https://github.com/ionic-team/ionic-framework/releases/tag/v7.2.0


Jasmine 5.1: https://github.com/jasmine/jasmine/blob/main/release_notes/5.1.0.md
The Surprising Key to Software Mastery: Cracking the Code of Todo Apps
Tags: webdev, softwareengineering, tutorial, development
Published: 2023-07-24 20:56:15

Ever wondered why a quick search on YouTube for the keywords 'React tutorials' brings up a slew of results, where the teachers often demonstrate how to build a todo app? At first glance, it might seem like a cliché or an oversimplified exercise. But today, we're here to reveal the hidden treasure within these ubiquitous tutorials.

Every software structure has core functionalities that it needs to perform. Just like a house must accommodate occupants to fulfill its purpose as a residence and a phone should be able to make calls to be functional, software, too, requires fundamental capabilities. It's hard to imagine a software that lacks the ability to read information, as nearly all applications need to perform basic operations on data.

Enter CRUD operations – the lifeblood of software development. CRUD, which stands for Create, Read, Update, and Delete, are the essential techniques that Todo App tutorials aim to teach. These seemingly basic operations may appear limited in scope, yet they form the backbone of software's data interaction and management.

Imagine a todo app as the training ground for budding developers. As you master CRUD operations, you gain an invaluable skillset that unlocks the potential to create virtually any type of application. From personal productivity tools to complex enterprise solutions, the principles you learn while building a todo app lay the foundation for limitless possibilities in the world of software development.

Mastering CRUD operations is crucial, whether you're building a todo app, a notes app, or a contact app. These operations empower software to interact with data effectively and efficiently, making them the fundamental building blocks for creating any type of application.

So, the next time you come across a tutorial focusing on building a todo app, remember that you are not just learning how to manage tasks, but you are acquiring powerful skills that can be applied to a wide range of software development projects. Embrace the knowledge of CRUD operations, and you'll be well-equipped to bring your creative app ideas to life!
Coding Boot Camp Prework Assignment
Published: 2023-07-24 20:46:46

I'm about to begin University of Denver's Coding Boot Camp and part of the prework includes making an account here and creating my first post. So here it is! So far I've learned this course will be fast paced and I'm going to have to bring my a-game to keep up. Good thing I love learning and I love the coding experience I have thus far!