teleren/devto huggingface dataset:
Day 9/100, 100 Days of Code
Tags: javascript, beginners, codenewbie, devjournal
Published: 2022-03-03 02:46:51

So today I finished working on that mini linter project. I'm still very much confused when it comes to iterators and arrays. I thought I had a pretty firm grasp on it. I struggle with choosing the correct method/function, and sometimes even the syntax.

Also, first time failing a quiz on the codecademy course. 50% fail. I won't let that stop me from learning though. 

After I got through that I got started with objects! I'll do better with these and continue to review what I've learned for arrays.

Objects haven't got too complicated yet, (which I'm sure they will) but for now I understand them a little more and the syntax is a little easier to follow.
AWS High Availability
Published: 2022-03-02 18:14:45

**Elasticity and Scalability**

**RDS and Multi-AZ Failover**

**RDS and Using Read Replicas**

Go to Database - RDS - create database - mysql,Free tier,DB instance identifier,master username,master password,database name,backup - create database - Action(Read Replicas not enabled) - modify - multi-AZ deployment=yes - continue - Enable Apply immediately - modify DB instance - Action(Read Replicas not enabled) - Again go to modify - Backup(7 days) - continue - Enable Apply immediately - modify DB instance - Action(Now Read Replicas enables) - Read Replicas - select (Destination) - create read replicas 

select database which is replicated - Action - promote - Enable automatic backups - Backup retention period = 7days - continue - promote read replica - Now replication between master and replicated database will broke

select Master database - Action - Reboot - Enable Reboot with Failover - Reboot 

select Database - Action - Enable I Acknowledge... - delete me - Delete

**Encrypting RDS snapshot**

Go to Database - RDS - create database - mysql,Free-tier,DB instance identifier,master username,master password,database name,backup - create database

Since we take Free-tier encryption is not possible so have to select database - Actions - Take snapshot - Give name - Take snapshot - select snapshot - Actions - copy snapshot - Enable Encyrption - Copy snapshot - select snapshot - Actions - Restore snapshot - DB Instance class(db.t2.large - 2 vCPU,8GB RAM),DB Instance Identifier(add a name) - Restore DB Instance 

**Sharing Encrypted RDS Snaps between accounts**

**Elasticache**

**Aurora**
Go to Database - RDS - create database - Amazon Aurora(There is no free tier it is a production database),Enable Amazon Aurora with Mysql compatibility,Regoinal,One writer and multiple readers,Production, DB instance identifier,master username,master password,Burstable classes,db.t2.small,create an Aurora replica, database name,backup(7 days) Disable delete protection - create database

Add a reader when cpu utilization become 100%

select the database - Actions - Add reader - Failover(Priority tier-0) - Add Reader 

To delete the database first delete writer,reader nodes.Then automatically Regional/main database will deleted

select the Writer node - Actions - Delete - delete me - Delete
select the Reader node - Actions - Delete - delete me - Delete
About Us | Iron Software
Published: 2022-03-03 02:22:26

---
canonical_url: https://ironsoftware.com/about-us/
---

## For Engineers, By Engineers

Our founders, Jacob and Cameron, met studying Engineering at university in Manchester, UK, circa 1998, and have been developing products ever since.

Iron Software first launched with just one component, IronPDF. In only 6 years, the team has expanded into offices around the world, supporting 5 products and millions of users.

And we’re not stopping there.

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

## Not Open Source. Here's Why

We’re engineers. We’re always looking for open-source solutions, too.

We used to think that paying for software was a bit like giving up. So we’d search for hours on Git to find open-source code, waste time struggling through the bugs and outdated platform supports, and fight headache after headache attempting to navigate through minimal documentation just to get started in a project.

We tried the C# open-source components out there and got frustrated.

So we made our own.

And instead of wasting hours of your time just trying to get started, we licensed our products so that you can pay one time and move on to the real work of developing your project. You’re an engineer, and we respect that this is just one step in your build, and it needs to work flawlessly.

By licensing our products we offer:

- Rigorous testing that won’t break your system
- Monthly product updates and constant improvement
- Support directly from our engineering team
- Feature requests, bug fixes, and direct customer engagement
- Step-by-step tutorials, videos, and clear & simple English documentation

---

## Trusted by Over 2 Million Engineers Worldwide

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

---

## Hiring the Best
 
We’re a growing team always looking for new talent.

Whether you have a love for .NET component builds, rigorous QA testing, or YouTube tutorial walkthroughs, we’d love to chat with you. Send your resume and relevant portfolio work to [developers@ironsoftware.com](mailto:developers@ironsoftware.com).

Let’s build great things together.

## Contact Us

Iron Software is based in the U.S.A. in Chicago, but our support team is available 24/7. Call us at +1 (312) 500-3060 or [send a message](https://ironsoftware.com/about-us/#helpscout-support).
🌱 When did you really start learning to become a "software engineer"?
Tags: discuss, beginners, career, programming
Published: 2022-03-03 02:20:13

As beginners, we started with a certain programming language. We learned that language' features, and maybe moved on to basic concepts like data structure, algorithms afterward. At that point, we became certified _coders_.

One day, we heard about systems designs, coding patterns, agile, software frameworks, testing, etc., and realized that we're not certain in which ways our coding skills can be applied to a real-world software development.

When was that? How did you feel at that moment? How did you find a path to overcome that learning curve?
Create a shortcode box for related posts flatsome
Published: 2022-03-03 02:12:21

function create_rpbox_shortcode($args, $content) {
	return "
<div class='rpbox'>".$content."</div>
";
}
add_shortcode( 'rpbox','create_rpbox_shortcode');


.rpbox {
     background: #F0FFDE;
	   float: none;
     padding: 10px 20px;
     border: 1px solid #C7C7C7;
	   border-radius: 5px;
}
Day 541 : All Night Long
Tags: hiphop, code, coding, lifelongdev
Published: 2022-03-03 01:47:06

_liner notes_:
- Professional : Had a pretty good and productive but long day. Ran into an issue with my demo application yesterday and met with a coworker to go over it. Within in like 6 minutes, I realized that I had a typo and got it working. My keyboard's delete key doesn't always work. Had a couple of meetings, but spent the rest of the day working on my application. Was making a lot of project and totally lost track of time. haha Added another functionality, but ran into some bugs that I'll work on tomorrow. I've got one more thing to work out, fix the bugs and I should be good.

- Personal : Made some good progress on my side project. It was mostly stuff on the admin site. I got the chat and questions from the client side to show up through the database to the admin dashboard. It went pretty smoothly. I also got the request to speak to work and from the backend I can toggle whether of not a person is selected.


![A paved pathway through a bamboo forest in Arashiyama, Japan](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/val6isfouvrxcxipfmnm.jpg)

It's pretty late so I'm going to see if I can get some quick coding done on my side project before calling it a night. Going to see if I can get the request to speak toggle to change on the client side and load the audio chat interface. Not trying to stay up all night long. I'm tired.

Have a great night!

peace piece
Dwane / conshus
https://dwane.io / https://HIPHOPandCODE.com
{% youtube Qu0SIQVoAnE %}
MultiThreaded Tesseract OCR
Published: 2022-03-03 01:30:18

---
canonical_url: https://ironsoftware.com/csharp/ocr/examples/csharp-tesseract-multithreading-for-speed/
---

IronTesseract 2021 used to have a `ReadMultithreaded` method to allow .NET developers to read images and PDFs more efficiently.

This is no longer needed in 2022. All IronOCR image processing and OCER reading operations are multithreaded and do not require the developer to use a special API.

IronTesseract will automatically attempt to use all threads available on all cores, and will consider responsiveness on the main / GUI thread elegantly.

**C#:**
```cs
using IronOcr;
 
var Ocr = new IronTesseract();
 
using (var Input = new OcrInput())
{
    Input.AddPdf("scan.pdf")
 
    // Image processing is automatically multi-threaded
    Input.Deskew();
 
    // OCR reading is automatically multi-threaded too
    var Result = Ocr.Read(Input);     
}
```

**VB:**
```
Imports IronOcr
 
Private Ocr = New IronTesseract()
 
Using Input = New OcrInput()
	Input.AddPdf("scan.pdf") Input.Deskew()
 
	' OCR reading is automatically multi-threaded too
	Dim Result = Ocr.Read(Input)
End Using
```
100 días de código: 79, termine mi prueba de next.js
Tags: spanish, 100daysofcode, nextjs, webdev
Published: 2022-03-03 01:01:36

¡Hey hey hey!

He terminado con el [tutorial de Next.js](https://nextjs.org/learn/foundations/about-nextjs?utm_source=next-site&utm_medium=homepage-cta&utm_campaign=next-website). Justo como comente en el blog pasado se siente como una herramienta muy poderosa sobre todo para crear software profesional.

[Esta es la pagina](https://blog-with-nextjs-eight.vercel.app/) que construí con el tutorial.

Cuando termine de crear el blog me intereso la idea de volver a crear mi pagina personal pero con ayuda de Next.js para ver si existe una diferencia de rendimiento significativa entre ellas.

Ahora me concentrare en aprender algo de backend para conseguir convertirme en un FullStack developer y crear un proyecto extra con Next.js para obtener algo mas de experiencia y aprender mas sobre la marcha.

En resumen...
### Hoy
- Termine el tutorial de introducción de Next.js.
- Practique algunos algoritmos en HackeRank.
- Planee el siguiente paso en mi camino como desarrollador web.
- Practique Touch Typing.

Espero que tengan mucho éxito con sus proyectos y ¡suerte con todo lo que hagan!.

Hasta la próxima!.
KCert - V1 Release
Tags: kubernetes, dotnet
Published: 2022-03-03 00:39:27

---
title: KCert - V1 Release
published: true
description: A Simple Let's Encrypt certificate manager for Kubneretes.
tags: [Kubernetes, DotNet]
---

Original post: https://nabeel.blog/2022/02/27/kcert-v1

It's been about a year since I introduced my certificate manager: [KCert](https://nabeel.blog/2021/03/21/kcert-release). For my specific needs KCert was a great improvement over the ubiquitous [cert-manager](https://cert-manager.io/docs/). You can read about the differences/advantages in the project's [README](https://github.com/nabsul/kcert/blob/main/README.md). However, I did not take the time to review the design to make it more generally useful.

This month I finally got around to revisiting KCert. I have redesigned several aspects of the tool, and I think what I have now is much more refined, simplified, and easy to use.

The changes I've made are:

# Get Started Fast

A basic installation of KCert is now super fast. You should be able to get started in a matter of minutes. Just edit three lines of the provided `deploy.yml` file and use `kubectl apply` to deploy it to your cluster. You can now start creating ingresses and KCert will issue the needed certificates. It's that simple!

# Less Reliance on a UI

Before the refactor, setting up KCert required entering your initial settings via the web UI. I came to the conclusion that this is not consistent with how Kubernetes is usually managed. Everything is now configured in the more standard "config as code" approach.

The web UI still exists, but it is mostly now a read-only view of the tool's status. The only actions you can take in there are sending a test email and manually renewing certificates
(and I'm considering removing that second feature).

# Watching for Ingress Changes

Before this release, certificates were created in the web UI with a browser-based form. The secret name and hosts are entered and KCert creates a Kubernetes secret based on that information. That is all gone now.

Instead, KCert now watches for changes to ingresses marked with the `kcert.dev/ingress=managed` label. Whenever a change occurs, KCert will check if it needs to issue new certificates accordingly. KCert supports issuing multi-host (but not wildcard) certificates. If multiple TLS definition exist across different Ingress definitions, a single certificate will be created for all referenced hosts.

![KCert Main Page](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/x1sqvpo66gl94j8921om.png)

# Conclusion

This project has been dormant for a while, but I'm really excited about this latest update. I think it's finally in a state that should make it useful to many people.

So give it a try!
UI/UX Redesign
Tags: webdev, showdev, ux
Published: 2022-03-03 00:36:05

Hello Community!

You may have seen [my post introducing my new website to the world](https://dev.to/greenreader9/my-new-website-5944), and now I am happy to announce that the website has been entirely coated in a new layer of paint (Oh, and a new logo to! Check out the image header of this post)!

The TinkerTechLab has partnered with @diegofranco2001 to completely redesign the UI and UX of the website, to make it easier to navigate and learn from. From [SEO tips and tricks](https://tinkertechlab.com/webhosting/seo-and-optimization/advanced-seo), to lot's of [.htaccess code examples](https://tinkertechlab.com/webhosting/htaccess/), the website has certainly grown!

I would love if you could check it out, and comment with any suggestions that you have.

_Note that if you have visited the site in the past, you may have to hard refresh (CTRL+F5) to see the new changes due to caching settings._
Private Constructor
Tags: java
Published: 2022-03-11 05:53:42

---
title: Private Constructor
published: true
date: 2022-03-03 00:00:00 UTC
tags: java
canonical_url: https://jorge.aguilera.soy/blog/effective-java/3-private-constructor.html
---

En el [post](1-constructors.html) anterior vimos cómo usar Factorias y las ventajas que estas pueden aportar sobre los constructores mientras que en el segundo [post](2-builders.html)veíamos cómo usar el patrón Builder a la hora de construir objetos

En este post (corto) vamos a ver las ventajas que tiene y cuándo aplicar un constructor privado.

## "Enforce noninstantiability with a private constructor"

Muchas veces nos encontramos con la típica clase `Util` que lo único que contiene son un buen puñado de funciones y campos privados, "atentando" contra todo diseño orientado a objetos. Sin entrar en tantas exquisitices estas clases sí son útiles cuando consiguen agrupar un número de funciones comunes (el caso más común podría ser la clase `java.util.Math`)

La característica principal de estas clases es el que no tienen por objetivo ser instanciable. No tienen sentido como objetos tal cual y lo que pretendemos es usar los métodos static directamente. **Sin embargo** , si una clase no tiene un constructor Java crea uno por defecto sin parámetro y **público** con lo que cualquiera que vaya a usar esta clase puede estar tentado a instanciar uno objeto de esta clase.

En muchos casos, para evitar esto, se define la clase como **abstract** para evitar su instanciación pero el problema es que se podría crear una clase que la heredera y esta ofrecer el constructor.

Por eso, cuando lo que queremos es tener una clase `Util` es aconsejable añadirle un constructor sin parámetros con visibiilidad `private`

```
public class CalculosHacienda{

    private CalculosHacienda(){
        throw new AssertionError(); // no es necesario pero así reforzamos que no se puede crear el objeto
    }
}
```

Como bola extra, el crear el método privado hace que la clase no pueda ser extendidas por otras pues el constructor que estas implementaran NO podría llamar al de la clase padre al ser private
Python Interactive Shell Interfaces
Tags: python, shell, bash
Published: 2022-03-21 10:33:33

---
title: Python Interactive Shell Interfaces
published: true
date: 2022-03-03 00:00:00 UTC
tags: #python, #shell, #bash
canonical_url: https://tech.serhatteker.com/post/2022-03/python-interactive-shell-interfaces/
---

The **Python Interactive Shell** is an interactive interpreter that can execute **Python** commands.

You can invoke it from your default shell — `zsh`, `bash`, `fish` etc.:

```bash
$ python
# or for a specific python version
$ python3.9
```

Also you can run interactive shell with a module/file like below:

```bash
$ python -i somefile.py
```


## Use Case


Thanks python, however I can't say I enjoy your default shell. I need more *capable*, *colorful* interactive shell like **[IPython](https://ipython.org)**, **[bpython](https://bpython-interpreter.org)**.

It's easy to achieve this in **Django**. It's well documented in [django-shell](https://docs.djangoproject.com/en/4.0/ref/django-admin/#shell):

```bash
# IPython
$ django-admin -i ipython
# bpython
$ django-admin -i bpython
```

Well, how can we achieve it in `Python`?


## Solution


**Python**'s way is kind of similar; you invoke it with some `module` using `-m` flag:

For `IPython` run:

```bash
$ python -m IPython -i
# with module/file
$ python -m IPython -i somefile.py
```

For `bpython` run:

```bash
$ python -m bpython -i
# with module/file
$ python -m bpython -i somefile.py
```

> **NOTE**
> In order to be able to use **IPython** and/or **bpython** first you have to install them:
> 
> ```bash
> $ python -m pip install ipython
> $ python -m pip install bpython
> ```

Yes, it's that easy and now we can take advantage of amazing features like below:

* In-line syntax highlighting
* Readline-like auto-complete with suggestions displayed as you type
* Expected parameter list for any Python function, etc.

![bpython-demo-gif](https://bpython-interpreter.org/images/full-demo.gif "bpython demo")


Probably it would be better to have them as aliases:

```bash
# .aliases
alias pi='python -m IPython -i'
alias pib='python -m bpython -i'
```


All done!
Listen to the S8E4 of DevDiscuss: "How You Can Be Successful Breaking Into Tech Mid-Career"
Tags: discuss, podcast
Published: 2022-03-02 23:43:26

---
title: Listen to the S8E4 of DevDiscuss: "How You Can Be Successful Breaking Into Tech Mid-Career"
published: true
description: Listen to S8E4 of DevDiscuss!
tags: discuss, podcast 
series: DevDiscuss Season 8
cover_image: https://dev-to-uploads.s3.amazonaws.com/uploads/articles/a7qskt5sirnml5y8q8xz.png
---

## In this week's episode of DevDiscuss, we talk about why there is no age limit when it comes to being a developer.


{% podcast https://dev.to/devdiscuss/s8-e4-how-you-can-be-successful-breaking-into-tech-mid-career %}

_Quick refresher — DevDiscuss is the first original podcast from DEV all about the burning topics that impact all our lives as developers._

### Hosts:
- **@ben** — Creator of DEV & Co-Founder of Forem
- **@aritdeveloper** - Software Engineer at Forem
  
### Guests: 
- **@theoriginalbpc** — is a full stack web developer who specializes in creating the front elements on web applications and translating web designs into websites using JavaScript, PHP, and WordPress.
- **@willjohnsonio** - enjoys creating content to educate developers through technical blog posts, video screencasts, tutorials, and in-person trainings.

Let us know your thoughts on this show in the comments below — or on Twitter ([@thepracticaldev](https://twitter.com/thepracticaldev) ).

---

_You can [follow DevDiscuss](dev.to/devdiscuss) to get episode notifications and listen right in your feed_ — or subscribe on your platform of choice! Plus, if you leave us a review, we'll send you a free pack of thank-you stickers. Details [here](https://airtable.com/shr8oKAIMZgdYnBxx). 

## Quick Listening Links
- [Apple Podcasts](https://podcasts.apple.com/us/podcast/devdiscuss/id1513053883)
- [Spotify](https://open.spotify.com/episode/42HcsHTrjdMYZrq6zUDrBb)
- [Google](https://podcasts.google.com/feed/aHR0cHM6Ly9mZWVkcy5kZXZwb2RzLmRldi9kZXZkaXNjdXNzX3BvZGNhc3QueG1s/episode/aHR0cHM6Ly9kZXZwb2RzLmRldi9wb2RjYXN0cy9kZXZkaXNjdXNzLzYx?sa=X&ved=0CAQQkfYCahcKEwjgtd-Gzaj2AhUAAAAAHQAAAAAQCg)
- [Listen Notes](https://www.listennotes.com/podcasts/devdiscuss/s8e4-how-you-can-be-iPl0_X-9VKx/)
- [TuneIn](https://tunein.com/podcasts/Technology-Podcasts/DevDiscuss-p1324596/?topicId=170233474)
- [RSS Feed](http://feeds.codenewbie.org/devdiscuss_podcast.xml)
- [DEV Pods Site](https://devpods.dev/podcasts/devdiscuss/episodes/252)

> ### _Acknowledgements_ 
> - The wonderful _@levisharpe for producing & mixing the show_
> - _Our season eight sponsors: [Duckly](https://duckly.com/?utm_source=devdiscuss&utm_medium=podcast&utm_campaign=devdiscussseason8), [Compiler](https://link.chtbl.com/compiler?sid=podcast.devdiscuss), & [Scout APM](https://scoutapm.com/?utm_source=devdiscuss&utm_medium=podcast&utm_campaign=ad_q2_2021&utm_content=sponsored)!_

---

Thanks for tuning in to DevDiscuss! ❤️