Singleton, Part 1

Recently I had a senior developer point out the gaps in my knowledge in Computer Science and Javascript. One of the questions he asked me if I knew what were Design Patterns. I stopped like a deer in headlights wondering what he meant, I couldn’t even really come up with an educated guess so he told me to look into Singleton, Builder, Factory, and Observer. Let’s start with Singleton.

Well actually before we start let’s explain what are design patterns.

Design Patterns are documented solution to commonly occurring problems in software engineering. Engineers don’t have to bang…

Making your Repo’s ReadMe better

No this blog is not going to go over how to fill your Github Repo pop with Markdown tips and tricks. I’m going to go over the essential element of these readme’s and that’s explaining how to use your code. To be fair, I’ve not written a lot of readme’s so I can’t tell you that what I’m about to tell you will work. What I can tell you is my experience using other people’s code and not really knowing what I’m supposed to do during certain moments.

In order for me to explain what…

My first experience in a fresh software team

Take a second and think of the first team you may have been asked to be part of. Maybe it was in a junior sports team that your parents forced you into, maybe you were forced to create a team in kindergarten to achieve some goal, maybe you were asked to just play tug of war. What you may remember is how the final goal was achieve, maybe the way something came down to the last second, or maybe just how fun it all felt. What you probably don’t remember is the…

Using an Algo Question to explain it

So earlier this week I’ve attended multiple different Algo Clubs and tutorials. One of which taught me about recursion and similar patters that go along with them.

The problem we went over was

Given a number n, count minimum steps to minimize it to 1 according to the following criteria:

If n is divisble by 2 then we may reduce n to n/2
If n is divisble by 3 then we may reduce n to n/3
Or decrement n by 1

On my first attempt I want for the greedy approach since I’m…

A simple explanation

Me everytime I try to figure out CORS

I know that I’ve run into issues with CORS but I didn’t quite understand what it was. One of the first times I ran into this issue is when I set up Rails as a Web App but not as an API, so when my Frontend was making requests to my Backend I was getting CORS error Allow-Control-Allow-Origin. At first I did not understand this problem as I didn’t know what was going on. …

“If you can’t code, you’re illiterate” ?

Will one day this be like reading a dense book?

A few days ago I joined a Software Developer Social and as we were all trying to get over our social anxiety someone said “In the future, coding will be just as important as reading. If you can’t do it you’ll be considered illiterate”. Upon first hearing this I thought back to my college days, when I was super obsessed with tech, it reminded me how little I understood about how subjects become necessity over time in society. …

My first experience with the website and the algorithm question I got asked

Alright so I’ve been out of bootcamp for 2 months now and I’ve had a lot to do. Keeping up with the latest tech events to attend, networking, applying for jobs, making sure my resume and LinkedIn look great, and on top of all of that I’ve been practicing Data Algorithms and Structures.

Recently I was introduced to Pramp a free peer 2 peer platform to bring software engineers from all directions to improve on their interview skills. It’s a really cool site where you ask someone…

Why should a Software Developer know about it?

Alright let me give you the tl:dr right now! Kubernetes is a Container Orchestrator that makes sure that Containers are where they’re supposed to be. Now that is very short and maybe you kind of get it, but let’s go into it and dissect what we are doing when we use Kuberenetes.

What does it solve?

In the normal deployment model when you update a component of the application you had to roll it out with the rest of the application potentially dedicating resources to all of the components instead of just the one you wanted…

It’s supposed to fit in the right spot!

Alright so we’ve all been there, while we are trying to create the layout of our website we want to give it a border and then BLAM-MO! All of the sudden all of the CSS you’ve been working on goes on the fritz and your whole layout looks like some weird mismatch of parent elements being smaller than your child elements.

A code-hikers’ guide to CSS

In our bootcamp, when we got to the topic of styling our websites they gave us a simple tutorial and told us to go scour the internet for other sources. The reason they did this was because it’s difficult to ascertain a way to teach everyone CSS when everyone is on different levels of knowledge on it. Second there are a ton of resources out there to go ahead and learn how to do almost everything with it, you just need to know what to google.

Now how can I give you enough tips that you can learn what to…

Demetrio Lima

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store