teleren/devto huggingface dataset:
Tell me about jQuery Patterns!
Tags: discuss, webdev, javascript, jquery
Published: 2019-06-05 01:35:04

---
title: Tell me about jQuery Patterns!
published: true
description: 
tags: #discuss #webdev #javascript #jquery 
---

Yesterday, [Ben](https://dev.to/ben) wrote this question:

{% link https://dev.to/ben/anybody-still-working-with-jquery-l0 %}

And it got me curious about jQuery patterns/frameworks that people use to make maintaining large jQuery projects easier.

I've been using [jQuery Widget](https://jqueryui.com/widget/) getting a custom download of jQuery UI with [only the widget API](https://jqueryui.com/download/#!version=1.12.1&components=100000000000000000000000000000000000000000000000) Or I make my own stateful components via JS prototypes and try to make an API to scope querying the DOM to the specific HTML subtree. I even wrote a [small tool to distant interactions via pub/sub model](https://github.com/ahmed-musallam/syrupjs).

Anyway, I really want to hear what other people do to maintain their large jQuery applications?
The Tools and Skills Needed to Tackle Microservices 
Tags: discuss, microservices, dev, devops
Published: 2019-06-05 03:18:01

---
title: The Tools and Skills Needed to Tackle Microservices 
published: true
description: What tools do you use to build your microservices architecture and how do you horn your skills on them?
tags: discuss, microservices, dev, devops
cover_image: https://thepracticaldev.s3.amazonaws.com/i/sex3ovgdblfnwnnoe9tw.png
---

It is almost 2 years since I started to develop professionally and really understand the challenges that it comes with building and maintaining services up and running 24/7 without breaks. Since then, I became fascinated to the concept of microservices. It looks so simple, the old divide and conquer, but brilliant. However, it comes with a lot of challenges as well and many tools to tackle these challenges. That's where my question is born. **What are the tools you use to build your microservices architecture?**

It seems a question that I could easily Google it and get some answers. I did it sometimes, even listening to other companies infrastructure. A lot of them talk about Kubernetes as a mean to deploy microservices. Others deal with communication, which seems a real challenge in microservices, like Kafka and other messaging or data streaming tools. Service discovery and circuit breaker are some names I read as well. On the Java world, where I live most of my time, there are Netflix OSS with Eureka, Feign, and others. It is a myriad of tools and begs the question about what do you use and your stories with those tools. 

Furthermore, all stories we hear about microservices deployments is from big companies where the infrastructure is massive and it sounds impossible to practice with those tools unless you are already in a company with such a massive infrastructure. Am I wrong? **How do you practice with those tools to understand them well?**

I understand that most of the tools used depends on the user case, but that's why I asking here! I hope we can gather a lot of different stories of all shapes and sizes! So, let the talks begin! :D
1MB (9 months later)
Tags: showdev
Published: 2019-06-05 01:15:27

---
title: 1MB (9 months later)
published: true
description: 
tags: showdev
---

9 months ago I posted about my project 1MB on here (https://dev.to/daltonedwards/1mb---free-website-hosting-2noe)

At the time of my initial post 1MB was a very simple application. Your site could only contain 1 HTML file and you were restricted to a 1mb.site subdomain.

Since then I’ve added many new features such as:

- Support for multiple files.
- Support for hosting multiple sites with 1 account.
- Custom Domains & Free SSL
- NoSQL databases that can securely be accessed with JavaScript
- “Instant Apps”, with the click of a button install a dynamic application on your site
- An optional Pro subscription for more storage and enhanced functionality.

I welcome you to check out 1MB at https://1mb.site
aws-creds: Introducing AWS Credential Picker
Tags: devops, python, aws
Published: 2019-06-04 23:40:48

*This article is cross-posted from [hammo.io](https://www.hammo.io/2019/06/04/aws-creds-credential-picker/).*

Identity and Access Management within AWS is EASY. So easy, in fact, most people don’t think about architecture of their accounts or how they will manage permissions until it’s too late. I’ve been there, and I’ve done that. One of the painful things about working in an enterprise that has done the quick-and-dirty with account creation and IAM configuration is managing all your logins. This gets even worse when you being automating and using your Access Keys. `aws-creds` is all about making this process a bit easier.
![](https://thepracticaldev.s3.amazonaws.com/i/mfr9fq1766262cbh7g15.png)

Normally, in a well-architected environment you will use a mixture of AWS SSO or some kind of federated credential systems and you wil use role delegation to provide access to your users. But what if you don’t have any of this available and you have a lot of accounts? Enter aws-creds (GitHub). `aws-creds` is designed to make managing multiple, disconnected accounts easy. Instead of updating profiles in your `~/.aws/credentials` file, you have a command line tool that saves all of your profiles in a custom json file.

# How does it work?
The AWS Credential Picker is quite simple in it’s design. Instead of storing details in the credentials file – which can prove difficult to use with lots of profiles – we store them in a custom JSON file. When you `login`, you’re actually doing is creating the credentials and the config file in `~/.aws`. When you `logout`, these files are being deleted.

The reason this was created is that some AWS Utilities and 3rd Party Tools REALLY do not like it if you have multiple profiles and do not treat environment variables correctly. By always having a single credential set, utilities will ALWAYS work.

This script also provides an update on how old your Access Key is and advises you when to rotate them.

#Getting started
Getting started with `aws-creds` is easy. I’ve packed it as a PyPi package and it is available using pip. To install `aws-creds`, just run the following command:
```
python3 -m pip install aws-creds
```
To ensure it has installed successfully, run the following command:
```
aws-creds version
```

# Would you like to know more?

Check out the [GitHub Repository](https://github.com/HammoTime/aws-creds) and the [PyPi Package](https://pypi.org/project/aws-creds/). If you find any bugs or have a feature request, let me know in the [GitHub Issues](https://github.com/HammoTime/aws-creds/issues). Thanks for reading, and see you for the next article. If you want some AWS-related articles, see my article on getting [Terraform Up and Running](https://www.hammo.io/2019/04/17/terraform-building-our-build-tools/).
Fast Track Websites
Tags: stress, deadlines, development, portfolio
Published: 2019-06-04 20:45:50

---
title: Fast Track Websites
published: true
description: Working with deadlines is actually fun? 
tags: stress, deadlines, development, portfolio
---

For the last little while, I've had an amazing little thing called time. I can spend weeks/months on a website, spend time tweaking it, getting all the bugs out...

This isn't the case for everyone, or even most people! I bet you've felt the time crunch. The impending deadlines. At some point in your life, I think everyone has.

In college, I think I was the most time crunched I've ever been. I'd have 3 days to smash together a website, and in those same 3 days I have to design an app and code some HTML snippets. 

And... call me crazy... I kinda miss it. I work my best when I'm stressed. Having an impending deadline is exhilarating. 

So I gave myself a weekend project. I came up with a new idea for my personal website, and I rolled with it. I've given myself 4 days, and they've been amazing. Seeing my  site come together so quickly is amazing, and I'm really happy with the current setup!

It's very simple, and 4 days was maybe too much time for it. To be honest, most of those days were spent doing other things, and in the end I maybe spent 6-8 hours actually working on this site. 

But I absolutely loved having a deadline, even if it was self imposed. It gave me that same sense of being stressed, and needing to get something done. Even if I didn't need to have it done this quickly, and I'll probably be updating it here and there when I come up with new ideas, it's a website. And it's great.

If you want to give me feedback (keep it nice, yet constructive), [check out the test version here!](www.sharkiecreates.ca/test) I'd love to get more opinions. I think there's a message system on here (which I haven't used yet, shame on me) or you can hit me up on Twitter.

Now back to working on my To Do App!
How to setup a new schedule?
Tags: blogging, productivity
Published: 2019-06-04 22:59:24

---
title: How to setup a new schedule?
published: true
description: How to setup a new schedule without giving up my private life? 
tags: blogging, productivity
cover_image: https://thepracticaldev.s3.amazonaws.com/i/sdfrl4irhp2wo3xxgj1g.jpg
---

Lately I've realized I want to focus on multiple things over a day. And it's time to prioritize and to schedule.

I'm a software engineer and I work full time so my spare time isn't too much.

Things I'm focusing on are

## DevOps crash course
I need it. I need it for my job and I need it because I want to understand better what means being a DevOps.
There's a relationship between it and the way to deliver software so I'm very interested to know more.
## React
I love React and lately I'm focusing on the couple React - Redux. I will continue in this way for a while.
## The GDG Galway
I'm part of the Google Developers Group Galway since a couple of weeks and I want to contribute sharing my knowledge with this great community. We're going to do cool stuff together.
## Studying algorithms
Yeah, algorithms. Underestimated but always useful. I bought [`Introduction to Algorithms`](https://www.amazon.it/Introduction-Algorithms-Thomas-H-Cormen/dp/0262033844) book few months ago and I didn't open the most interesting pages yet!

Any idea or suggestion to schedule this stuff without giving up my private life? :smile:
Are you a Woman learning to code? My Survey aims to capture our shared experiences!
Tags: inclusion, womenintech, wecoded, career
Published: 2019-06-04 22:47:33

UPDATE: The Infographic is here!!! Please view at:

https://womenlearningtocode.ga

---


While transitioning to a tech career in my late 30s, I always wondered what I shared with other women who were making similar transitions.

So I've decided to create a fun, informative infographic of women who are currently learning to code, and haven't landed a dev job yet. I hope that this infographic will serve to encourage and comfort women at different stages of the developer journey.

In the last few days, I have received 10 responses (yay!). However, more data will mean a more robust infographic.

If you fit my criteria - **a woman learning to code (non-binary included) who hasn't landed a dev job yet** - would you PLEASE fill my survey out?


~~Here is the link to it: **https://forms.gle/eSsqY41VEfw2EJAp8**~~

I am most grateful, thank you!
Pushing Left, Like a Boss — Part 5.3 — Browser and Client-Side Hardening
Tags: programming, tutorial, beginners, security
Published: 2019-06-04 21:46:23

---
title: Pushing Left, Like a Boss — Part 5.3 — Browser and Client-Side Hardening
published: true
description: The 5th section of this series details various examples of secure coding.
series: Pushing Left Like a Boss
tags: programming, tutorial, beginners, security
---

###[This series, and my blog, have moved! ](https://wehackpurple.com/pushing-left-like-a-boss%e2%80%8a-%e2%80%8apart-5-3%e2%80%8a-%e2%80%8abrowser-and-client-side-hardening/)!

Browser and client-side hardening focuses on enabling and using the security features within a user’s browser. The following settings protect the users of your web applications from their side (client-side/browser), rather than the server-side (the application itself), as with most application security advice.

###Disabling ‘Remember Me’ Features

While I believe that all applications should allow for users to “paste” values into the password field (to allow for the use of [password managers](https://medium.com/@shehackspurple/why-i-love-password-managers-14dad739ea79)), I do not believe that applications should allow browsers to store passwords using the “remember me” feature. I may be forced to eat my words at some point, but until the security of browsers improves, it is my opinion that all passwords should be stored in a password manager.

###Do Not Allow Caching of Sensitive Data

Another item for browser and client-side hardening is to disable caching for sensitive pages. In the past, I would have advised that if a page is delivered over HTTPS, that it must contain sensitive information, and therefore should not be cached. But now that things have changed, and quite frankly since [Troy Hunt has opened my eyes](https://www.troyhunt.com/heres-why-your-static-website-needs-https/), I believe that **all pages of every web application should be delivered over HTTPS**, that would prescribe that nothing should ever be cached. With that caveat, I would like to suggest that if a page of your application contains anything sensitive, you should not allow it to be cached. Pages that do not contain sensitive information may be cached for faster retrieval.

###HTTPS Everywhere

HTTPS should be forced on the server *AND* from within the application. The newest version of TLS (Transport Layer Security) should always be supported, which as of this writing is TLS 1.2. Older versions of encryption that have known vulnerabilities should be disabled unless you have a clear business reason that has been evaluated against the risk of supporting backwards compatibility. As of this writing all versions of SSL (Secure Sockets Layer) and TLS 1.0 should be disabled on all servers.

###[Read the rest of this article on my NEW blog!](https://wehackpurple.com/pushing-left-like-a-boss%E2%80%8A-%E2%80%8Apart-5-3%E2%80%8A-%E2%80%8Abrowser-and-client-side-hardening/)!

![I feel strongly about client-side hardening. Image — http://sector.ca/](https://thepracticaldev.s3.amazonaws.com/i/yfeqzvh5vfe80h8mal90.jpeg)
Installing AWS Elastic Beanstalk cli on OpenSuse
Tags: opensuse, eb, aws
Published: 2019-06-04 20:04:15

---
title: Installing AWS Elastic Beanstalk cli on OpenSuse
published: true
description: My troubles
tags: opensuse, eb, aws
---

How to successfully install EB cli on OpenSuse you do need to install a few dev build libraries **before** for make to succeed the build.

``` 
# sudo zypper in gcc zlib-devel libffi-devel libopenssl-devel
```

This should save lots of trouble for Suse users.
Coding with low self esteem
Published: 2019-07-23 03:03:45

---
title: Coding with low self esteem
published: true
tags:
canonical_url: https://www.pragmaticpenguin.com/posts/coding-with-low-self-esteem/
---

 ![Coding with low self esteem](https://images.unsplash.com/photo-1456406644174-8ddd4cd52a06?ixlib=rb-1.2.1&q=80&fm=jpg&crop=entropy&cs=tinysrgb&w=1080&fit=max&ixid=eyJhcHBfaWQiOjExNzczfQ)

Is it possible? yes.

Is it easy? No.

From a younger age I've loved the idea of websites. Designing them, building them, updating them. I finally made the dive to try to make them in my later teens.

At that time life hadn't shown most of it ugly hand to me. At that point it was hard work to focus on wanting to learn code, but it was only limited by my own producitivity and passion.

But life isnt that simple.

Life throws challenges at you.

Pains. Loss.

Self esteems drop, or naturally weren't that high to begin with, so only going down from zero is a dark drop.

It's tough enough in life to face stresses from work, finances, and more.

But what if the thing you have the most passion/skill in, is one of the areas you struggle with self esteem the most?

What do you do?

I don't always know what to do. I'd be lying if I didn't say finally going to therapy almost a year and a half ago now wasn't the best thing I've done for myself in many years.

But your therapist isn't always around. He has taught me some valuable tools along the way and still is a great asset. He also got me a recommendation to a great psychiatrist which got me on Lexapro to help with the _intensity_ of my anxiety and major depressive episodes, but there is no "fix all" pill.

I still struggle with self worth the most. Feeling like I give any value to work, my relationships, my life. But I try to recognize best I can when those feelings aren't backed by any proof. When I only recognize the negative and dismiss or discount the positive. That is where I am now.

You can code with mental illnesses that make you want to give up, that make you feel worthless, that make you feel stupid...etc. You just have to choose to get up every day (that you can) and pursue it best you can.

That's been the hardest lesson I still struggle with. That doing your best...is enough. Even if you don't do this or that like someone on Twitter, or don't meet the unreasonably high expectations you or someone else set for you, it doesn't make you a failure. Your best is enough. Your best is great. Your best makes a difference.

Even typing that feels like a lie sometimes. But I keep trying my best to take that feeling, and work with it daily. That is my struggle and path. To be happy with my best. To not feel like a failure.


--
This is an auto post over from my personal site. Just wanted to share that quick bit and ask the question.

How do you manage it? 

What's your tips?
I will be 🔥 LiveCoding JavaScript on Twitch at 7:30 PM PST (Jun 4 2019)
Tags: showdev, opensource, javascript, node
Published: 2019-06-04 19:38:53

---
title: I will be 🔥 LiveCoding JavaScript on Twitch at 7:30 PM PST (Jun 4 2019)
published: true
description: 
tags: showdev, opensource, javascript, node
---

This should be interesting...

{% twitter 1135992611309666304 %}

Come for the code. Stay for the fails.

Are you planning on attending? Have you watched other live coders? What do you think about live coding in general?

# UPDATE:

This Live Coding is complete, the video has been archived. Watch it here: https://dev.to/joelnet/live-coding-a-refactoring-of-a-node-js-javascript-bitcoin-twitter-bot-on-twitch-29f5
Is High Quality Software Worth the Cost?
Tags: codequality, technicaldebt
Published: 2019-06-04 19:23:30

---
title: Is High Quality Software Worth the Cost?
published: true
description: Martin Fowler discusses that the cost of creating high quality software is negative. It saves you time and money.
tags: quality, technical debt
cover_image: https://thepracticaldev.s3.amazonaws.com/i/hnn1hcd5reoxn46t2yob.jpg
canonical_url: https://martinfowler.com/articles/is-quality-worth-cost.html
---

Most developers agree that quality of software is important, and not an afterthought. However, quality is usually one of the first things to get axed when budgets (time, money, ...) start to run out. 

Many developers probably have tried to explain to management why you should not skim on investing is quality, but have failed to convince them.

Instead of cutting features from the next release, quality investments are reduced. Investments like:

* unit tests
* refactoring code
* design documentation
* etc.

I could also try to explain why you should invest in creating high quality software. But I will probably not do a good job either. At least, not better than Martin Fowler already did.

In his recent article **[Is High Quality Software Worth the Cost?](https://martinfowler.com/articles/is-quality-worth-cost.html)** Martin Fowler properly explains why you should invest in creating high quality software. He also discusses that the cost of creating high quality software is actually _negative_. It saves you time and money in the end.

It is an article management should also be able to understand. Next time you need to explain to management why you need to spend time on quality improvements. Hand them this article, or in fact, do it right now. If they are not convinced, you should consider that a [red flag](https://dev.to/david_j_eddy/what-is-your-biggest-red-flag-when-interviewing-4ec8).
Changelog: Join Multiple Organizations
Tags: changelog, meta
Published: 2019-06-04 18:46:20

You'll now be able to join and belong to multiple organizations! You can check out your settings page to create or join or a new organization. Here's an example of what your settings would look like:

![Organization settings page example](https://thepracticaldev.s3.amazonaws.com/i/zl3h67q5pqqzdy7gpzsu.png)

Publishing a new post under organizations, as well as posting listings and purchasing credits will also use a similar drop-down pattern.

Under the hood of the app, this change required a big architectural change in how we handle organizations. By setting this new foundation we'll be able to explore adding more interesting features, such as guest posting for an organization.

Let us know if you have any questions or feedback, by leaving a comment, sending us an email, or [opening a GitHub issue](https://github.com/thepracticaldev/dev.to/issues/new/choose)!
Please don't move from Monolithic Application to Monolithic Kubernetes Cluster? 
Tags: kubernetes
Published: 2019-06-04 18:34:13

---
title: Please don't move from Monolithic Application to Monolithic Kubernetes Cluster? 
published: true
description: Important Points of Kubernetes Cluster Design
tags: #Kubernetes
---

This is my proposal message from experience.

***I recommend you to not create the huge size of node on one Kubernetes Cluster.***
---

According to the following document, If you use the Azure Kubernetes Service(AKS), the number of max node is 100. 
[Quotas, virtual machine size restrictions, and region availability in Azure Kubernetes Service (AKS)](https://docs.microsoft.com/azure/aks/quotas-skus-regions?WT.mc_id=devto-blog-yoterada)

However, I don't recommend you to create the cluster with max node size.
Because it is same as creating a new Monolith in Container　Environment(Kubernetes) again.

As you can imagine, if you created it, you may face the following issue.

1. ***Increase in Impact***
If you created 150 microservices on 100 nodes and there are system failures or other performance impacts, all 150 services may be affected.
The scope of this impact compared to a monolithic application(10-20 services) is a much worse situation with a monolithic kubernetes cluster(150 services).

2. ***Increased time to upgrade***
There is a kubernetes release every 3-4 months.
And AKS(Kubernetes) has an end of life policy that requires updating or reinstalling the kubernetes cluster approximately every 1 or 2 year at minimum.
[Exam: Azure Kubernetes Service: Kubernetes 1.9 end-of-life notice](https://azure.microsoft.com/en-us/updates/azure-kubernetes-service-kubernetes-1-9-end-of-life-notice/?WT.mc_id=devto-blog-yoterada)
In order to update or create the new Kubernetes Cluster very quickly, the number of node size is very important.For example, if you created 100 nodes of cluster, it will take a long time than 30 nodes create.

3. ***Difficult to maintain***
I would recommend you to create very simple structure and configuration (simple is the Best!!).
If you created the simple structure and configuration, it is easy for you to create the same environment.However if you created the complex structure, sometimes it may be difficult to create the same environment even though you created the Infrastructure as Code.
I recommend that you should be easy to create or destroy the environment at any time.

***Finaly***
I recommend you to create the Kubernetes Cluster for Mini Service level like 20-30 node. However, in fact, sizing depends on your system. For example, you need create a chunk of relevant microservices and deploy it to the the cluster.