Josh Lee
banner
itsjoshlee.bsky.social
Josh Lee
@itsjoshlee.bsky.social
Fullstack Software|AI|Cloud|Cybersecurity|Tacos
Ruby, React, & AWS + Tools like LangChain, Ollama, PyTorch to Build Secure, Compliant & Cost-Effective Software
Not everything is encrypted by default, which means your data might be sitting in plain text if you don’t flip the switch.

Turn on encryption at rest for S3, RDS, EBS, and enforce TLS/HTTPS in transit. It’s one of those “set it and forget it” moves that makes all the difference.

(2/2)

#S3 #RDS
November 3, 2025 at 3:54 PM
Turns out the Chinese language may be on to something Because your brain actually does work like a computer.And here's how you can use that information to write better software.

And here's how you can use that information to write better software.

(2/2)
#Ruby #software #coding #RAM #WriteSoftware
October 10, 2025 at 6:10 PM
You don't need to name methods like 'sumUpAllTheItemsInTheCart'

But writing cleaner code instead of trying to write smart one-liners can make your software much more maintainable.
October 10, 2025 at 12:02 PM
imagine you're also have to keep up with other items like remembering the q variable means "quantity" instead of just using "quantity" for the variable name, you don't remember what method "calcAv" does, and you're not sure if you're expecting to return a float or an integer.

What I'm saying is...
October 10, 2025 at 12:02 PM
cart = [ { name: 'apples', quantity: 2}, { name: 'bananas', quantity: 3}, {name: 'cake', quantity: 2}]

When we read code like cart[0][:name], our internal voice is saying "Grab the first item and get the name."

Now that might not seem like much in this example, but...
October 10, 2025 at 12:02 PM
converting indexes into what they represent. So, while we're coding we may think "Grab the first item and access the value at index 0 to get the product name" when reading cart[0][0].

Instead, if we wrote out that same code as:
October 10, 2025 at 12:02 PM
when writing code, this is much more important than you'd initially think.

Let's say we're writing code for a shopping cart and store items in a nested array like so:

cart = [ ['apples', 2], ['bananas', 3], ['cake', 2]]

When using that code, we have an extra mental step of...
October 10, 2025 at 12:02 PM
In fact, the average person can only hold about 5 to 7 items in their short term memory. We often use a technique called 'chunking' to hold more information. So instead of remembering a phone number like 5015551234 (10 items) we remember it as [501]-[555]-[12]-[34] (4 chunks.)

And...
October 10, 2025 at 12:02 PM
More on exactly why that's important for software developers in a second....

When focusing on something, we typically use our short term memory by loading up the information in our head, using it, and then quickly discarding it.

But most people's short-term memory isn't really that great...
October 10, 2025 at 12:02 PM
But there can be a balance between knowing when to use AI and when not to use AI.

And at the very least, you should have an idea how AI is being used in the legal field - even if you don't plan on using it yourself

(2/2)
#AI #ArtificialIntelligence #AilnTheLegalIndustry #AiInLegalField #Legalfield
October 7, 2025 at 5:22 PM