Programming in Starbucks

Follow on social media!

Quick note: if you’re viewing this via email, come to the site for better viewing. Enjoy!

two guys working with headsets on
Eric: I’m telling you, this new line of code I’m writing is going to be amazing. Just you wait, Ben.
Ben: Bro, I just heard the drum kit come from your headset, I know you’re on the hub!
Photo by Yan Krukov, please show support by following @pexel.com

Have you ever sat at your computer, stared into the dark abyss so long that within it you begin to see the reflection of your reflection, and after a few more moments, thought to yourself” I have no idea what I’m doing”?

If you said “no” and this is because well, you don’t have any experience writing a program, but you are curious about being a programmer, then oh boy. Fun ahead.

To those of you who said “yes,” I would like to extend a warm welcome to you into the “Programmer’s Block Club” as this is just as common as writer’s block. It’s infuriating when you watch a show or a movie with a programmer just coding away line after line from the start.

Most of your time is spent staring into the void of nothingness before anything happens. Sounds bleak? It is.

However, once you identify your target, this tends to become a rewarding experience because the toughest part about programming is figuring out what you want it to do in the first place.

Now, since programming is a large scope, there are too many languages to cover. For sake of all that’s holy (or probably unholy), we are going to use Java as a tool for our possible programmer… which is you.

So, as per usual, we are going to be going over what Java is, who and what uses it, how our world is shaped by it, and finally whether can you get in the field without a put-you-in-debt degree.

Not Your StarBizzy

hands and a cup of starbucks coffee
Sarah: It’s pumpkin spice latte season.
Joy: OMG Sarah, you are so basic.
Sarah: Don’t judge my basic. I see I have my cup here. Where’s yours!? Caffe Americano…hm.
Photo by Ade Rifaie, please show support by following @pexel.com

Looking at the logo of Java, you wouldn’t be wrong in your thought of coffee. I mean it does look like a cup of coffee and well caffeine is the sweet brown cocaine we jones for to start our day aside from whatever else your vise is.

What’s mine, you ask? Good question, it’s Jameson Black Barrel. Simple and classy, I mean coffee isn’t coffee unless you add some of that good ole “daddy thinking juice”.

What is Java?

someone holding the logo of Java.
Can’t afford the Dunkin? Have a Java instead.
Photo by RealToughCandy.com, please show support by following @pexel.com

Java (not to be confused with JavaScript) is a high-level, class-based, object-oriented programming language that is designed to have as few implementation dependencies as possible. It is a general-purpose programming language intended to let programmers write once and run anywhere (WORA) meaning that compiled Java code can run on all platforms that support Java without the need to recompile.

What does all this mean?

This breaks down to, being readable by humans (high-level), creating a data type defined by the user (class-based), and classes of data types linked with the functions with which they’re associated (object-oriented). Compile meaning translation to machine language for use.

a boy and his teddy bear
Young boy enjoying his teddy bear until he hits the teens, then it’s straight to yard sale with this one.
Photo by Anete Lusina, please support @pexel.com

Now, let’s say, you want to run a simple program. We’ll call it build-a-bear-that-won’t-terrify-your-children, the box where you place the bear is the environment in which you develop the bear, the material stuffed within the bear is your data type, the name (class) of your bear we’ll say is “Grizzly” which can be used for the creation of another bear down the line, and the voice of said bear is a function.

Putting all these together gives you a bear that your children will cherish until they become of age. Where in which they’ll forget the bear and tell you to shove it because they’re at the phase where they no longer want to be seen with you anymore, ah… that good ole teen angst.

A fun little thing to note is Java’s original name was “Oak”. Could you imagine Starbucks grounding trees in your coffee?

Enjoyed this so far? Consider subscribing for more.

Use for what?

man taken glasses off rubbing eyes.
Why is there so much use!? So much to learn!
Photo by AndreaPiacquadio, please show support by following @pexel.com

What uses Java, well the real question is what does not use Java? Most (if not all) laptops, data centers, gaming consoles, and cell phones use this programming language.

Nine times out of ten, your place of employment (if you still have one, covid did a number I know) should’ve updated their operating system to a later version instead of something installed in the 90s.

They label it “legacy” to sound as if it’s supposed to get better with age when in reality is code for “we are old as f***, and we don’t like change”. Yes, said mentioned place runs Java.

Being able to WORA (and no not WORM, that’s a virus) makes Java a programming language many developers use to create applications.

baby crying in fathers arms.
Dad: I was so close to making it out without you crying, I hate Target!
Photo by Phil Nguyen, please show support by following @pexel.com

Have you ever gone into a Target while wandering around and heard a god-awful chime go off?

Java runs in an application for that sound to be produced. The sound is loud, good luck to any parent to grab something quickly without waking up their sleeping newborn. One ear of that sound and it’s GG (Good Game) parents… you lose.  

Shaping Our World

pointing a digital world
Java around the whole.
Photo by Porapak Apichodilok, please support @pexel.com

Having the ability to write simple code helps alleviate programmers from struggling with arithmetic errors and lessens memory constraints.

So, this means a lot of programmers that would be standing on top of a tall building staring into the void waiting for a strong gust of wind can take a step back because fixing bugs is easier to deal with and not have to worry as much about space.

Businessman looking over edge of tall building.
Programmers could have taken the song “Free Falling” to the extreme without Java.
Photo by Tom Fisk, please support @pexel.com

Banks and other financial institutions have Java running on their systems for safety and productivity.

Mobile applications that are created using Java include some popular ones like Twitter, Netflix, and Spotify to name a few.

It’s hard to go somewhere that isn’t using this language.

Would or Wood Not

someone sitting in front of a computer monitor.
I could learn how to program… but playing Minecraft could be better.
Photo by cottonbro studio, please support @pexel.com

So, you’re probably thinking programming is something that you may find interesting, and I might take my hand at learning Java.

Well, here are some things to note.

Traditionally, places of employment are going to require you have a degree in computer science. You can beat this out by attending meetups and linking up with people who are going to be your peers.

Build a portfolio of small programs you’ve created by yourself or with others. Working with others is better because it shows you can operate within a team.

A Java developer’s yearly salary can range from $57k – $140k depending on your residing state and level of experience.

sand in a hourglass.
Programming time after time. Photo from rosstraining.com

What you are going to need are a GitHub account, Stack Overflow, and a lot of patience. Companies will bring you in for a tech interview and before the interview, will have you take a programming assignment; therefore, you should have an account and frequently visit Hacker Rank as this will help you become a better programmer.

Programming is trial and error. 

Made it this far and found this to be entertaining? Then a big thanks to you and please show your support by cracking a like, scripting a comment, or plug-in to follow.

Think Java might be a programming language you might like?

Script a comment below about your experience learning a programming language.

Also, if you liked this and were interested in another programming language then check out my script on Rust.

Leave a comment

Buzzing in Your Computer

Consider following on social media!

Quick note: if you’re viewing this via email, come to the site for better viewing. Enjoy!

Tom: Hey, did either of you check out the script?
Aaron: Yeah Tom, now shut up the movie is about to start.
Photo by Pavel Danilyuk, please support by following @pexel.com

So, you’re a fan of Transformers, huh? Well, brace yourself, because this might shock you. You know how those robots can turn into cars, planes, and other stuff?

Well, guess what? Some of them can also hack into your computer or your online accounts without breaking a sweat. It’s crazy, the internet never stops being the place where people can exploit sweet childhood memories.

We’re going to look at what the attack is, who is using it, the functionality and effects upon release, and what are some ways to protect yourself from this transformer transforming your life into a nightmare.

Kim: So uh…we’re just friends huh?
Dave: *Thinking: If I pretend like I’m drinking she’ll stop asking me questions.*
Photo by Pavel Danilyuk, please support by following @pexel.com

The Attack

Have you ever experienced a transforming nightmare?  For those who may not know it’s called “malware” which means “malicious software”.  This refers to any software that is designed to harm, disrupt, or steal data from a computer or a network. You can think of this as your neighbor offering you food knowing it’s laced with naptime medicine.

The newest addition to being laced with something that stings and honey is not included is called “BumbleBee”. BumbleBee is a malware downloader written in C++ language and has a single function that handles various tasks.

This is malware that can hide in plain sight and deliver ransomware payloads to infected systems. In a nutshell, this bee sting giveth and this bee taketh your data.

Not only do I collect pollen but I can give your computer everything you never wanted, like a virus.
Photo by Egor Kamelev, please support by following @pexel.com

Who Can It Be Now

Who would set something like this up to take your data? Well, we’re happy to tell you that this didn’t come out from Beyonce’s beehive. BumbleBee has been linked to several cybercriminal groups, such as EXOTIC LILY and TrickBot.

Let us quickly go over the two. EXOTIC LILY is a financially motivated group that may have acted as initial access brokers for other malicious actors and targets a wide range of industries also involving IT.

TrickBot is a Trojan that threat actors spread via spear phishing campaigns. This is done by using tailored emails that contain malicious links. And you thought ChatGPT was only good for fixing resumes and completing essays.

Enjoy the read so far? Why don’t you consider subscribing so you can keep up to date?

Well, it’s time to mail some ransomware.
Photo by Liza Summer, please support by following @pexel.com

That Sinking Feeling

Now moving on to how something like BumbleBee works. BumbleBee is a downloader that is distributed through malspam (malware spam- spam email with malware) campaigns. Emails are sent with a malicious attachment that has an ISO extension.

When the user opens the attachment, they see a folder with two files: a DLL file and an LNK file. Both files are infected with this troublesome transformer. The LNK file is a shortcut that executes the DLL file when clicked. Trigging the BumbleBee downloader to download and run other malware on the compromised system.

What’s the other malware that could be downloaded we hear you ask. Well, this could be but is not limited to viruses, worms, trojans, spyware, adware, ransomware, and more. What problems can they cause? Don’t worry, we have you on that as well.

Malware can cause various problems, such as slowing down the system, encrypting or deleting files, displaying unwanted ads, or demanding a ransom to restore access. Malware can infect a device through various methods, such as downloading attachments, clicking on links, visiting malicious websites, or using infected USB drives.

So all in all, BumbleBee gets into your system, transforms, drops off, and rolls out. And you thought Optimus was bad.

This isn’t what we meant as far as protecting your information but it’s a start.
Photo by cottonbro studio, please support by following @pexel.com

The Prevention

So how does one protect themselves from what came from the beehive? Well, to protect your computer from malware and other threats of the like. You should follow some basic security practices.

First, avoid opening attachments and clicking on links in emails that look off or are irrelevant to you. Especially if they came from an unknown sender. Second, use only official tools to update and activate the software you use. And never download or run any cracks, keygens, or patches from unknown sources.

Third, keep your operating system and applications updated with the latest security patches and fixes. Fourth, download software and files only from official or reputable websites, and avoid using third-party downloaders.

Lastly, install a reliable antivirus program on your computer and scan your system regularly for any potential infections or vulnerabilities. Many issues will come a buzzing but if you can avoid being stung from a hit and run, then do so.

It’s a good thing I read Scriptingthewhy. I knew these bees were acting funny. IT’S TIME TO GET YA’ll IN ORDER!
Photo by Anete Lusina, please support by following @pexel.com

Made it this far and found this to be entertaining? Then a big thanks to you and please show your support by cracking a like, sharing this with whomever, scripting a comment, or plug-in to follow.

Would like to give sincere thanks to current followers and subscribers, your support and actions mean a lot and has a play in the creation of each script.

Do you feel like there is something I may have missed on BumbleBee? Script a comment below.

Pixar’s Cars didn’t know this about Rust…

Quick note: if you’re viewing this via email, come to the site for better viewing. Enjoy!

punch Buggie covered in rust.
One of many faces made when trendy programming languages are released.
Photo by Andrea Piacquadio, please show support by following @ pexel.com

All right, so, you’re sitting at your computer, plotting to make your great escape into the all-so-coveted world of Information Technology (IT) but the buzz of “what programming languages are trending” prompts halt and confusion.

You think to yourself, “just when I thought I picked the right coding boot camp, the best online course, the perfect programming language only to experience derailment, THIS… IS… MADNESS!! (Not Sparta)”.

You slump back and deflate into your computer chair, eyes synced with your mind racing back and forth with feelings of panic. The walls begin to darken, zeroing in, siloing you into thoughts of being the only one.

Whispering to yourself; “I’m alone in this”, you feel despair, quickly followed by a fit of rage while you stare at the computer screen.

Whoa, wait, let’s stop right there.

Before you flip your desk and begin smashing everything in frustration, let me tell you something… you’re not alone.

I bounced from Python, Java, and Kotlin (Kotlin was a fling, nothing serious) before I settled back into learning Python. It’s okay to “dip the toe” or (if you feel like being immature) “give it just the tip” when learning a language.

With there being many programming languages in the world, it’s easy to get overwhelmed. So, in short, go for the language that would best suit you, which may be the language we’re talking about today, Rust.

rust car in rust landscape
This is a result of a car being stripped for parts and left for years in the elements.
Photo by Mark Vegera, please show support by following @ pexel.com

Rusting with Jay

What is Rust? Well, that’s a simple question and I’m glad you asked it.

Rust is the reddish-brown material that develops when something has been sitting in a garage for too long. If you’re anything like Jay Leno, you must have several cars sitting so long that one, two, or maybe even thirty are starting to develop rust.

Okay, now with the bad rust jokes aside, it’s time to tell you what rust in the computing world is actually.

Rust is known as a general-purpose programming language designed for improved performance, safety, and concurrency (meaning you can run more than one copy of a program simultaneously).

Like Java, C#, and Swift along with several other programming languages, Rust is considered to be memory safe, meaning they all handle memory automatically instead of relying on the developer.

This means the developer (or programmer) can program away and not have to worry about having to use a garbage collector.

No, not the people who collect your trash every week or so.

Garbage collectors, when enabled, will automatically free up memory space that has been tied to objects which are no longer being used by the program.

Rust also prevents developers from running the risk of introducing certain types of bugs in relation to memory.

Memory safety bugs often tend to be an issue making this language more than secure.

So, you could think of this as one of the programming languages that stops you from having a Homer Simpson moment and yelling “D’oh”.

fifty shades of rust logo
When car parts decide to add some kink.
Photo by Magda Ehlers, please show support by following @ pexel.com

Kink of Rusting

Rust has been around for about 11 years or more now and hasn’t gotten the chance to get rusty since many industry leaders have adopted the use of Rust. Some are the likes of Amazon Web Services (AWS), Dropbox, and Cloudflare just to name a few.

AWS uses Rust for their CloudFront, Elastic Compute Cloud (Amazon EC2), Simple Storage Service (Amazon S3) as well as several other services which use Rust as well.

Dropbox uses Rust for the filing engine because this language being memory safe, prompts fewer memory error messages to deal with. Preventing developers from reenacting Britney Spears in her famous song, “Oops, I did it again”.

Since the Rust compiler will refuse any unsafe code, Cloudflare has chosen this language for this and its other security features.

Rust is normally used for projects dealing with Command Line Tools (CLI), web development, and system programming.

In the arena of data science and analytics, Rust is not up to the level of Python or R, but Rust does offer properties for creating backend systems focusing on data parallelization and low-level code optimization.

All this boils down to if this language was your side piece, it very well may be finding its way to becoming your main piece.

person sitting watching the sunset
Pondering thoughts on the horizon.
Photo by Pixabay, please show support by following @ pexel.com

Facing the World with Rust

Rust has given programmers more flexibility to develop functional code without having to worry about memory issues. Due to Rust’s speed and performance, data scientists have made this language a choice for when handling machine learning and large amounts of data in a hurry.

So, if you wanted to imagine trying to rifle through a mountain of warehouse data in record time, this language has you covered.

You’re also not going to find too many cult followers as you do with Python, Java, or many of the other programming languages, instead you may find people from many avenues in the tech world joining the Rust ever-growing community.

With there being many applications and growing in popularity, Rust doesn’t seem to be slowing down or going anywhere soon. In some cases, it may find its way next to Python and Java being the top languages to learn.

man in brown jacket thinking in front of laptop
Man thinking intensely about his next purchase on Walmart’s site.
Photo by Andrea Piacquadio, please show support by following @ pexel.com

Pursue or Not

Thinking about getting a job as a Rust developer or interested in making it an addition to your skillset? Either way, you can’t go wrong.

However, just knowing this language isn’t going to be good enough to land you a job. Since Rust is so close to C++, you are going to be expected to code in this language as well.

Again, you don’t have to know everything about the language, just enough to be able to move around and make sense of everything in view.

Also, depending on what your potential place of work is looking for you are going to have to be familiar with Linux and other operating systems.

Notice how you must be familiar with mentioned items and a degree was not brought up. In this day and age, being able to show you have practical knowledge supersedes having a four-year computer science degree.

Building a small list of projects using this language will boost your resume and help you stand out from the herd. Leading to rust never developing on you (sorry, I know that was bad, that was my last rust pun).

Thinking Rust developer might be the career path for him.
Photo by cottonbro studio, please show support by following @ pexel.com

Made it this far and found this to be entertaining? Then a big thanks to you and please show your support by cracking a like, scripting a comment, or plug-in to follow.

Think you have what it takes to become a developer for Rust?

Script a comment about how you think learning Rust would benefit you.