If you’re a powershell fan you’re probably familiar with
Invoke-WebRequest. It’s the powershell version of
cURL in that it will send an HTTP request to an endpoint and show you the response.
Personally I prefer powershell for parsing and interacting with the response (I find it easier interact with the results in powershell).
Depending on your use case for powershell you may not have experienced the frustration of using
Invoke-WebRequest against a server presenting self signed certificates, but in my world that’s common. …
AWS recently released Cloudshell which is a browser based shell that handles IAM authentication for you.
From the product page Cloudshell runs Amazon Linux 2 and taking a look at the features page for the product it comes with Powershell already installed. For this blog I’ll be using the modularized
I fired up cloudshell and ran
pwsh and got the familiar powershell prompt
When you first go to the AWS Compute Platforms page it can be overwhelming. It’s a long list of services with a lot of subtle variations like EKS vs ECS. It can be tough to know where to get started. I’ve run through this exercise a number of times in my career and I’d like to share the pattern I run through when standing up a new workload.
There are 3 main categories I think of when looking at compute platforms
I know there are tons of other compute platforms (EMR, Batch, EC2…
Single responsibility means that every class you create should do one thing. That lets your classes have a very narrow focus. One of the many benefits is that it lets you compose your classes together more easily than if you have a class that’s doing many things. “Sounds simple!” I hear you say, “Just do one thing and one thing only. Good to go!”
Well, not so fast…
Before I say anything about that service specifically let me jump back to the first time I was evaluating creating a service environment in AWS. We had a greenfield project and we could pick essentially any deployment mechanism we wanted. This was ~5 years ago, so containers weren’t mainstream enough for us to feel comfortable jumping into that pool, but we were still weighing several
This week at work I ran into a situation where I had to parse a large, complicated json file. Let me paint a picture for you.
I work at a decent sized company and my team works on a service that sits in the middle of a pretty large stack of dependencies. There are plenty of services before us, and after us. Because we have to integrate with those services our build system and deployments are involved — they have to handle authentication, pulling down dependencies, integration tests, scaling, roll back, etc, etc, etc.
We happen to write our service…
Sub title: Especially if you’re coming out of a boot camp
I took a very traditional route into Software Engineering. I got interested in computers and programming in high school, then got my B.S. C.S. in 2012 and my M.S. C.S. in 2018. I’ve been in the work force for over 8 years now.
With the rise of different programming boot camps and programs (like Lambda School) I’m seeing more and more people look to make the jump into the software engineering field. And with good reason! …
Sub title: Guys, async is really hard
If you haven’t picked up on it from my blog yet I’m getting back into the Java world after some time away doing other stuff. I left the Java world when Java 7 was still a thing (spoiler that was a long time ago, I’m old). Now Java has all kinds of trendy things like Lambda expressions and Streams. It’s like a whole new world!
I recently stumbled across some usage of the CompletableFuture at work at it piqued my curiosity. …
I’ve been working in technology for almost a decade and I’ve had a lot of titles over that time
I’ve done software engineering in Java, python, and powershell (and COBOL, but let’s not go there). I’ve managed server environments made up of Windows, Ubuntu, and Redhat. I’ve been a firewall admin and network engineer on Palo Alto firewall, Fortigates, AWS VPCs and Cisco Switches. I’ve worked with Postresql, SQL Server, Dynamo DB, and Mongo. …
Immutability is the concept of having objects that cannot change. It can add confidence to your programming approach by letting you know objects will always be consistent — no values will change out from under you because someone else has a reference to the object.
But yet again you get some weirdness by pushing some dynamic typing and functions as first class objects into Java. Let’s look at this example
Engineer, Cloud Enthusiast, Powershell Aficionado, Java Fan, Docker fan, other nerd stuff. All opinions are my own.