Happiness part 3

Photo by M. GodShepherdly

It is no secret that physical fitness and nutrition can improve overall wellness, yet so many people let it slide to the background. Maybe we just need an occasional reminder of the benefits a healthy lifestyle can provide. Not everyone is constantly aware of the need for exercise and quality food. One way to combat this is repetitive reminders. Take the time to read a few blogs every week that discuss the subject of health. Try replacing one out of five audiobooks with a fitness podcast or book. Personally, I know I need to replenish my motivation daily. A busy lifestyle and being around video gamers and people who eat mountains of junk food contribute to my loss of discipline. What are your challenges? 

There are so many positive aspects to a healthy lifestyle it’s hard to focus on just one. For today we will continue a 3 part blog on happiness and discuss how fitness and nutrition can specifically contribute directly to your well being and overall joy. Do you often feel anxious or lack confidence? Do you normally feel tired and sluggish or depressed? Do you think you need to be medicated? You can surely find a medical professional to agree with you. I’m not a fan of medication and I would like to recommend another option. Take a good look at your habits, do some reading and research and try helping yourself out with a little self discipline.

Regular physical activity increases the production of endorphins, which are often referred to as the body’s “feel-good” chemicals. Endorphins naturally improve your mood and alleviate a lot of aches and pains that can come about from just not moving around enough. I was a long distance runner for many years and even now I still like to go out for a 2 or 3 mile run when I have a chance. I can attest that the positive effects of a good run extend beyond the immediate euphoria. Running and other physical activity also release neurotransmitters which are known to reduce stress. 

As someone who has worked predominantly stressful jobs throughout his career, I can say running has been my most reliable stress relief method. As a Marine we were required to perform physical activity on a daily basis. Why are so many Marines self confident to the point of cockiness after boot camp? A big part of it is because they are in the best shape of their lives and they look good. For many people self confidence equals happiness in many applications, yet another good reason to stay in shape. As a 9-1-1 dispatcher I stopped running for a while because my sleep was all messed up from the extreme shift work. I became moody and angry, and gained 30 pounds in the first year. I started running again and wouldn’t you know things got better. My sleep became better and I lost 30 pounds in less than 2 months with the help of running and the good old Tim Ferris “slow carb” lifestyle. 

My air traffic control career has had its ups and downs corresponding with the various trials of life. Running was almost a necessity in my younger career but I guess I’ve been doing this long enough where I don’t get as stressed out at work anymore, that combined with the wife and child have helped me put on some “happy pounds”. More on this in a future blog post about the dangers of maintaining the status quo. I am after all writing this blog to motivate myself as much as you. So maybe I’m not as fit as I once was but I can still run 3 miles pretty easily and I will say that after a bad day a little run is far quicker and less expensive than a trip to the bar.

Another positive aspect of the physical activity that I experience with running is a certain increase in mental resilience. In my current job I’m required to maintain a high level of focus making a lot of quick and successive time based decisions, kind of like your favorite 6v6 high stakes pvp video game match or being a raid leader with a bunch of noobs. Actually my job is more like playing 3 dimensional tetris where all the pieces move at different speeds and there is at least a 5 percent chance that a piece will do something completely random and unexpected.  It is more stressful than a video game, however, because there are real people and real danger involved and everything I do is highly scrutinized. So I am very aware of when my mental reflexes start to fall off even slightly. I notice it with every passing year. I notice it if I eat too many carbs, don’t get enough sleep or drink poor quality coffee. Poor quality coffee for those who don’t know is coffee or espresso that has been defiled by sugar and dairy. I am very aware of the increased mental acuity after a workout. I am also aware of the increased mental endurance of someone who has practiced consistent physical endurance. 

Eating a healthy diet follows as a catalyst to a happy lifestyle. A good diet gives you the energy to workout. Getting enough omega-3, vitamin d, and antioxidants have been associated with reducing depression. It is hard to go out and run when you are depressed. Your brain needs nutrients to combat poor moods. The terrible cycle your body goes through with a bombardment of processed carbs is bound to have a negative effect on your mind.So how do you fix this? How do you get out of your funk and become a happier, more productive human being? Start with baby steps.

I’m sure you’ve heard the advice that says “go to your cabinet and throw out all the processed carbs”, prompting you to go out and buy a cart full of vegetables which will rot in the fridge while you sit on the couch and order a pizza. I know some people can pull this off, but it might also be a sure way to get a divorce from your significant other who is not quite so motivated. It might also make your kids cry, a lot. Also food costs a lot of money. My advice is start small. Make or buy a salad and incorporate it into every meal for a week. When you run out of ranch, buy some vinaigrette. When you run out of chips, buy some cheese and healthy crackers, celery and peanut butter or carrots and hummus. You get the idea. I think that normal people who try to go all hard core from the get go just end up discouraged and quit early and take longer before they try again.

Your exercise program should have a similarly slow start depending on your age and how long you’ve been out of the game. If you’ve been a couch potato for five years and you go out and run 10 miles there is a good chance your runner’s high will cause you to hurt yourself. Now you are injured and discouraged and will probably be a couch potato for another year. Try running a mile instead. Can’t do it? Try running around the block. If that is too hard try walking around the block. If that is too hard you may have a condition that needs to be addressed by a professional outside the scope of this blog. If you live in rural America and your “Block” is 12 miles around, just estimate a quarter to a half a mile to start. You can even pace back and forth in your home for 400 to 800 paces to start. Alternatively you can dance to 3 catchy pop songs. See? You have tons of options! 

Do push-ups, start with your knees on the floor if you have to. Do sit-ups or crunches if sit-ups are too hard. Increase on a weekly basis and pay attention to your body. If you are older with back and joint pain I recommend looking into yoga and tai chi. I would normally recommend starting with no more than 3 days a week in whatever you decide to do, and increasing intensity, distance and/or duration no more than 10% per week. Write down your goals and your progress. Keep track and stay accountable somehow with the diet and the exercise. I am not a trained fitness instructor but I’ve had a lot of experience instructing physical fitness. Figure that one out, the Marines know. In the Marine Corps if you are faster or more fit than everyone else that apparently automatically qualifies you to instruct 40 other people every day on how to stay fit.

All of this advice is just that, advice. If you are feeling more, go for it. If you run a mile and don’t even feel sore the next day, feel free to run 3 miles. If you walk around the block and can’t get out of bed the next morning, see a doctor. Just kidding, no seriously see a doctor. For the rest of you, with some consistency and time you will feel like a whole new person. Your mood should get better. You will look better, have more energy, more confidence and most importantly, feel happier. You will get out what you put into this. Remember there is a momentum to everything in life, and your physical and mental states are symbiotically related. Physical laziness begets mental laziness and vice versa. To combat this be aware that physical discipline begets mental discipline and the reverse is also true to the effect you can say that discipline encourages more discipline. For those of you who like to be fit, healthy, productive and wealthy: discipline begets happiness.

World Building Part 1

Photo by Konstantin Fichtner

One of the aspects of game development I have had some experience with through years of tabletop gaming is world-building. As any good dungeon master can tell you, coming up with engaging content is a lot of work, but it’s also very rewarding. It may be easier to take a module or scenario that someone else has written and adapt it to your campaign but it can feel clunky and leave you scrambling to answer the inevitable context related questions your players will come up with. I believe world-building is a crucial skill that is used in creating immersive environments in both tabletop games and video games. One of my goals is to someday take the experience I have from running hundreds of Dungeons and Dragons sessions and building my own world, and apply it while developing an MMO. Let me share with you some of the basics acquired from around the web and my own experiences and introduce the realm of world-building.

The first thing I like to start with is a map. There needs to be a physical world with some geography including mountains, forests, rivers, oceans and cities. The climate and ecosystems for each area should be considered. If it doesn’t make sense from a basic scientific perspective, for example rivers should run downhill from mountains to larger rivers and eventually to lakes and oceans, you will have to know why. If the basics like gravity and common sense are ignored, this can be ok, just be ready to explain the fantasy aspects in detail. Once you have the basics on a piece of paper or some mapping software, like Campaign Cartographer, you can pick a spot to start your adventures.

Before getting into your story, think about the theme and genre.Is this going to be a horror, sci-fi, fantasy or all of the above type of world? Consider the technology level. Are they only a bow and arrow society? Crossbows? Guns? As you write more of the story of your world consider the history and lore and the various societies and factions that affect the scenario. Historical myths and legends that directly affect the cultural evolution of the people of your realm create more engagement from your players. Remember that the players are paying attention to see if any of this is pertinent to how they complete their quests and get their loot, so include details that are interesting and relevant, but not too long winded. Create places of interest like dungeons, castles and ruins. Have unique back stories, cunning creatures and interesting characters (NPCs) related to each one.

Think about the different societies and factions that will affect your story and the relevant gameplay. What are their beliefs, motivations, customs and political structure? In my opinion it is easier to start in a small town and work your way out. You can work to flesh out each faction week to week as the characters are introduced to them instead of doing all the work up front. You may even decide to create certain specific groups and ideals based on the needs of your players or to incite more drama between players and NPCs. Ask yourself the questions a player might ask upon entering your world. Think about the economy of your starting area and the resources that are available. What do people do for a living and what do they eat? What kind of travel is available and who do they trade with? How do the people pay for stuff, standard copper silver and gold, or something more interesting like glowing mana-infused gems? 

Taking your story to a video game requires all of your aspects to be much more fleshed out. Your map will be more detailed, thought needs to go into how characters will navigate through different biomes. You will need to have actual building designs representing particular cultural architecture. All of the narratives and subplots must be complete and ready to go in quest format, pre-written NPC conversations and lorebooks that can be found within the game world. Having a well organized setting from years of tabletop gaming can help you avoid a lot of the pitfalls of an incoherent story and have the added benefit of ready-made quests and player engagement.

Let’s dive more into creating a culture for your world. Start with creating the prominent races and setting up their interactions. Each one should have at least a basic cultural description and history. The culture should organically develop from the setting and backstory and include languages, customs, social norms, religions and political system. Figure out who is in charge, how they got there and who opposes them. Is this a Kingdom with nobility? Maybe the government is controlled by merchants or guilds or there is a council that decides everything with competition for seats. What motivates the populace? How do they earn their income? What is the education level like? Is there a class system where the rich few have the power and peasants toil away for a few coppers a day? Culture also includes things like celebrations, holidays and traditional games or sports. Finally bring out the drama. Who are the political rivals? What neighboring countries are thinking about invading? What monsters lurk in the dark fringes of civilization?

A large part of where culture comes from is a society’s history and lore. A well developed backstory including all of the critical elements will greatly enhance the playability of a game, whether it is a tabletop or a video game. This backstory should provide context and depth to your world by detailing myths, legends, historical events and influential figures like heroes and villains. These items can provide the foundation for current conflicts and plotlines within the game.

Start with how the world was created,for example was it formed by gods, some cosmic event like the big bang, or was it constructed like the Death Star or Ringworld? What are the significant events or time periods in world history? Can it be broken down into ages or eras? Sections of time can be defined by conflict, renaissance, decline, the fall of empires, natural disasters or cataclysms. Maybe a new species invaded the planet from space or emerged from the depths and forever changed the course of civilization. Don’t be afraid to get into the details of the past with major civilizations, describe how they rose to power, or how they may have declined. Explain the major beliefs and traditions and customs and how and why they may have changed over time. Develop the legendary heroes and villains of the ages and why they are remembered and feared. Definitely highlight the major conflicts, including who was allied with or backstabbed by who. 

Myths and legends can define a culture. Make sure the subject of these tales are larger than life and exciting. The adventures of these legendary figures shook the world and became exaggerated over the centuries, immortalized in literature and song. For more depth and mystery continue to develop smaller tales and legends that vary from region to region. Think of the Loch ness monster, bigfoot or the Blair witch. Introduce this lore during gameplay and try to make it relevant to the current story or lead into upcoming stories. Add intrigue by leaving some of the mysteries unexplained. Leave some story arcs open ended for updates and expansions.

Always strive for internal consistency. Make sure your lore with respect to magic or technology is compatible with the existing game mechanics. Ensure historical accuracy within your story. You don’t want to have a treasure trove of full plate armor ten thousand years old when the bronze age was only three thousand years ago. Create a reference document for all of your world’s history, culture, and myths. Try to make common knowledge accessible. In tabletop games you can provide the players with guides for their use. In video games the lore tends to be  more spread out through conversation with NPCs and the reading of lorebooks, but you can certainly have online lore encyclopedias. 

For most fantasy storylines the systems of magic are the defining shape of the gameplay and major motivator of the narrative. Creating a consistent and logical form of magic should be a top priority for any fantasy world developer. Decide where the magic comes from and what form it takes. Is it a natural force? Is it based on faith? Is it internal or external? Also consider if magic should be something everyone can learn or just for an elite few. The magic needs to have limitations like taking time, willpower, mana and or physical resources.

Having dabbled in the development of magic systems I can attest that this is one of the more demanding aspects of world building. There are a huge number of variables to consider before you can even look at balance. How many schools of magic will you allow? Having just elemental magic is relatively easy, but what about necromancy, illusion, healing or summoning? Should the system be customizable or static? Consider how much number crunching you are willing to do in a tabletop game. In a video game timing is everything with casting time, cooldowns and good old resource management. Finally decide how magic will influence the balance of power and overall culture of your world.

If you decide to go with technology or a mix of technology and magic, many of the same considerations apply. You need to define the level of technology, how available it is and how it is used. Is this technology developed or found? What is the effect on the culture? What are the ethical and societal impacts? If you have both then rules will need to be in place for how they react together. Does magic hex technology, or is full on magitech available? Again make sure you have good records for consistency and narrative alignment. No matter which system is used, playtesting will be an integral part of the process to ensure a system that flows and is in balance. 

Define the basics of your economy by establishing currency for all of the different factions. Decide what kind of economy you have, for example is it a feudal gold based system or a modern digital (credit-based) economy. This can get complex very fast so I recommend starting very general and getting more detailed as needed. Identify the key resources of your world, including minerals, metals, food, magic and technology. Decide how scarce your resources are and where each particular one comes from. Have a basic idea of the trade system including routes and import/export dynamics. In an MMO trade will most likely involve an auction house or player to player trades.

Decide how much you want the players to influence the economy. Players can have an effect through quests and missions for different traders and merchants. They can also affect the economy through the gathering of resources and crafting. Integrating the economy through gameplay will promote player engagement, especially in MMOs. Remember to take into account how events like war, natural disasters or even a large festival can affect supply and demand. These scenarios can create easy story hooks to get the players involved, like the standard “stop the bandits from stealing our stuff” story starter hook.

So, I had thought that I could put all of this world building advice into one post, but the more I write, the more stuff I think of. We’ll call this a good first post and I will add more in the future. In the meantime, remember to always run quality assurance and control on your world. Make sure to maintain balance. Magic and the economy can get out of control really fast when players discover all the loopholes you missed or through monumental and unexpected effort they crash your economy or become invincible. The idea is that your game stays fun for everybody. 

Happiness Part 2

Image by Ylanite Koppens

Going from my 20’s to my 30’s ended up being one of the most psychologically traumatic times in my life. I was nursing some pretty significant disappointments with myself and the world in general while transitioning from a stressful job as a 911 dispatcher to another stressful job as an air traffic controller, and going through a divorce at the same time. Being a dispatcher is not a job that promotes a positive outlook on life or a lot of faith in your fellow humans. Being an air traffic controller is also not easy, and training is the worst part. I’d like to say this work-related tension caused my divorce, but the truth is that it was a long time coming and my state of mind just made it happen more quickly. My epiphany was that I had spent so much time catering to other people that I had almost completely neglected what I wanted. I had lost myself and what I wanted to be and harbored a deep sadness and resentment. I needed to fix that state of mind if I wanted any real chance at inner peace. In the  hustle and bustle of our daily lives, finding true happiness can seem like a distant goal. I spent the next few years recovering, trying to figure out what went wrong, and how to prevent future unrest. I learned a few things along the way and I’d like to share them with you. I’m going to dig into how to manipulate your state of mind into something more productive, positive and overall happy. 

Negativity is a slippery slope. Once you start down that road, a path many of us were trained to follow as children, it colors everything that happens around you. I would like to suggest that you can alter your perspective through mindfulness, which is really just paying attention to how you feel and why you feel that way. Eckhart Tolle, a renowned spiritual teacher and author, emphasizes the importance of living in the present moment. In his books, “The Power of Now” and “A New Earth,” Tolle explores how embracing the present moment liberates us from the grip of negative thoughts and emotions. I found these books quite helpful in changing my emotional state for the better. I had adopted a habit of brooding about the past and ultimately wasted large amounts of time feeling sorry for myself. This was ultimately self-destructive. The idea of being in the “Now” involves being fully present in the moment, cultivating awareness,  and accepting thoughts and feelings without judgment. 

A basic example of how this works is through meditation. You have a focus while you meditate, such as your breathing, or the flame and the void, if you’re a Robert Jordan fan. As negative thoughts intrude you don’t suppress them, instead you acknowledge them and then just mentally place them outside of your focus (or into the flame) knowing that they are there but they do not affect the present moment. This draws into focus things that are affecting the present moment, and there are internal conversations that take place. This is where Tolle emphasizes the difference between your actual self and your whiny little biological self. Whiny is not his wording, I think he calls it the “pain body”. This annoying voice tells is incessant and distracting, but your true self knows what is truly important. It takes a long while to handle this noise, but trust me it eventually becomes instinctual. Once you finally overcome the past and future background static, you still have an inner self-talk that sounds like this: I have to pee, something smells bad, I’m hungry and thirsty, this floor is hard and I need a cushion, dude you can wait until I finish this 5 minute meditation! 

This may seem like it’s somewhat time intensive, it does take a while to reach the proper state, and at first it is not as easy as it sounds. Once you get some practice, however, say 2 to 3 weeks 10 to 15 minutes a day, it becomes more natural and the benefits become more apparent. You can eventually learn to center yourself quickly, which is really important in my profession. I can be on the radio talking to a dozen aircraft, feeling the panic coming on, the cold sweat, the tunnel vision, then I take a deep breath, embrace the “Now” in the moment between transmissions and immediately put myself in a better head-space. I think many people in stressful professions learn to do something like this instinctively, or they don’t last long, and the toll on their body and mind is much higher.

The idea of self-talk is something I never really considered before my low point, but I have learned to appreciate the value this tool has to offer. Anyone who is serious about self improvement is familiar with the famous book “The Power of Positive Thinking” by Dr Norman Vincent Peale, but this idea has been around since the ancient Greeks and possibly before. There are many modern versions of this “Secret” but the basics are simple enough to understand. Your thought processes are often a self-fulfilling prophecy. If you think you are destined to live in a trailer park collecting welfare checks in back woods Maine, you will likely end up there. If you deny this version of reality and decide you will live in a Southern California beach town in a million dollar condo, the new reality becomes much more likely. I consider myself to be living proof of this concept.

Positive self-talk can take many forms. You can repeat affirmations in your head over and over, write down your goals and how you will achieve them, or put a picture on your desk of a kitten looking in the mirror seeing a lion in the reflection. Doing all three of these and more will ultimately increase the effectiveness. I also find listening to positive  and inspirational music to be very effective. There is a reason why “Eye of the Tiger” is on so many workout playlists. I jokingly refer to all this stuff as self-brainwashing. In my mind that is basically what we are doing, brainwashing ourselves with the thoughts we allow most often. The fact is our brain responds to repetition and molding. If you tell yourself something consistently and repeatedly with enough conviction your subconscious will start to believe it and work behind the scenes to make it a reality. 

During my recovery years my self-talk was more affirming than goal oriented. I would say things like “I will get through this” or “I am not defined by my past mistakes”. Later, when I had recovered a bit, I got cocky and had grand affirmations like “I will be independently wealthy in 5 years.” That particular goal got derailed by reality and several other factors which I may or may not reveal in future posts. These days I am fighting the ever creeping chains of cynicism disguised as pragmatism but I still have more specific and realistic versions of goals such as “I will retire from my current job at 51 years old”, and “I will pay off my home and 2 rental properties by 60 years old.”  Accomplishing both of these are by no means a sure thing, but they are something to shoot for that will require more than me sitting on my butt and coasting through life.

Be careful of situations that can sabotage your efforts. It is difficult to maintain a positive outlook if you are surrounded by negativity. If your friends and family are unrepentant cynics you may need to distance yourself, and a long vacation may not be enough. If you work in a job like a 911 dispatcher where no one who calls you has anything good to say, you may want to consider a new career. Dedication can overcome these challenges, however, constantly being exposed to negativity will encourage backsliding. Don’t watch the news, the networks don’t make money spreading good news. I haven’t watched it for over 20 years and I don’t feel like I’ve missed out on much. I find that my co-workers will give me a summary of current events whether I want it or not anyway. If there is something interesting I can always find a less biased, less sensationalized version of it online.

The main thing I’ve learned over the years, for myself anyhow, is that happiness takes effort. Kind of like marriage or a career, things don’t tend to trend upward without some direction and a sense of purpose. There are a plethora of tools available to anyone with the will to use them. I encourage you to read, listen, talk and educate yourself. Give meditation a try, it may not be for you, but every bit helps. Keep in mind positive thinking doesn’t imply ignoring challenges or denying reality; rather, it encourages us to focus on solutions, opportunities, and the good aspects of our experiences. I will consider posting book reviews and recommendations in the future if people are interested, until then, stay motivated, stay happy.

The Basics of Artificial Intelligence

Image by LJ

Artificial Intelligence is the development of computer systems to perform tasks that usually require a human being. These tasks include learning, reasoning, problem-solving, perception, speech recognition, and language translation. AI systems aim to mimic human cognitive functions, enabling machines to adapt and improve their performance over time. Let’s explore the different types of AI, the practical applications and overall concerns.

Narrow AI or Weak AI is designed and trained for a specific task. Unlike General AI, which would possess human-like intelligence across a broad range of activities, Narrow AI excels within a well-defined domain. This specialization makes it highly efficient and effective for particular applications.

One of the defining features of Narrow AI is its focused expertise. It is tailored to perform a specific function or solve a particular problem, whether it’s image recognition, natural language processing, or playing board games. Narrow AI operates within a limited scope, meaning it does not possess the versatility and adaptability associated with human intelligence. 

Training is a critical aspect of Narrow AI development. These systems rely on large datasets specific to their intended application to learn patterns and make predictions or decisions. The quality and diversity of the training data significantly impact the system’s performance.

Virtual personal assistants like Siri, Alexa, and Google Assistant are classic examples of Narrow AI. They excel in voice recognition, language understanding, providing information or executing specific commands. Applications that can identify objects in images or transcribe spoken words leverage Narrow AI. This technology is widely used in photo categorization, facial recognition, and voice-to-text conversion. Many online platforms use Narrow AI algorithms to analyze user behavior and preferences, offering personalized recommendations for content, products, or services. This includes streaming services, e-commerce websites, and social media platforms. The AI systems in autonomous vehicles are another example of Narrow AI. These systems are specialized in tasks like identifying obstacles, interpreting traffic signs, and making real-time decisions based on sensor data.

Strong AI, or General AI, represents the theoretical concept of artificial intelligence possessing the ability to understand, learn, and apply knowledge across a wide range of tasks at a level comparable to human intelligence. Unlike Narrow AI, which specializes in specific domains, Strong AI aims to exhibit a broad spectrum of cognitive abilities, allowing it to perform any intellectual task that a human can. The hallmark of Strong AI would be versatility. It would not be confined to a specific domain or set of tasks; instead, it could comprehend and adapt to diverse situations, displaying human-like cognitive flexibility. Strong AI would have the capacity to learn from experience and reason across various domains. It could apply knowledge gained in one area to understand and solve problems in entirely different contexts. In the realm of Strong AI, the idea of self-awareness and consciousness is considered. This implies that the AI system not only processes information and performs tasks but also has an awareness of its own existence and the ability to reflect on its experiences.

Despite the potential benefits and the intriguing concept of Strong AI, several significant challenges stand in the way of its realization. Replicating human-like intelligence requires a deep understanding of the complexities of human cognition, including perception, memory, reasoning, and consciousness. This understanding is still limited. As AI approaches human-level intelligence, ethical and philosophical questions arise. Issues related to consciousness, moral reasoning, and the ethical treatment of AI entities become crucial considerations. Achieving Strong AI requires immense computational power and sophisticated algorithms. The complexity of emulating human intelligence poses a substantial technological challenge that for now remains firmly in the realm of science fiction.

           Machine Learning is a subset of artificial intelligence that focuses on the development of algorithms and statistical models that enable computers to perform tasks without explicit programming. The core idea behind machine learning is to empower machines to learn from data, identify patterns, and make decisions or predictions based on that learning. It plays a pivotal role in various applications, ranging from recommendation systems to image recognition and natural language processing.

Data is the lifeblood of machine learning. ML algorithms learn from historical data, which is used to train the model. The quality, quantity, and relevance of the data directly impact the performance of the machine learning system. In supervised learning, a common type of machine learning, the algorithm learns from labeled data. The software uses input variables called features, and the goal is for the code to learn the mapping from the features and create outputs, which are known as labels. Machine learning algorithms are mathematical models that learn patterns from data. These algorithms can be categorized into various types, including linear regression, decision trees, support vector machines, and neural networks. The choice of algorithm depends on the nature of the problem and the characteristics of the data. During the training phase, the machine learning model is exposed to labeled data, and it adjusts its internal parameters to minimize the difference between its predictions and the actual labels. This process continues until the model achieves a satisfactory level of accuracy. Once trained, the model is tested on new, unseen data to evaluate its performance. 

In supervised learning, the model is trained on a labeled dataset, meaning it learns from input-output pairs. The goal is to predict the output for new, unseen inputs accurately. Unsupervised learning involves training models on unlabeled data. The algorithm discovers patterns or structures within the data without explicit guidance on the output. Reinforcement learning is centered around agents that learn to make decisions by interacting with an environment. The agent receives feedback in the form of rewards or penalties, guiding it toward optimal decision-making.

Companies like Netflix and Amazon use machine learning algorithms to analyze user preferences and recommend movies, products, or content tailored to individual tastes. Machine learning powers facial recognition systems, image classification, and speech recognition technologies. Applications range from security systems to virtual assistants. In healthcare, machine learning is used for disease prediction, medical image analysis, and personalized treatment recommendations based on patient data. Machine learning algorithms analyze financial data to make predictions about market trends, stock prices, and investment strategies. Natural Language Processing applications use machine learning to understand and generate human language. This includes chatbots, language translation, and sentiment analysis.

Machine learning models are only as good as the data they are trained on. Biases in the data can lead to biased predictions, and insufficient or low-quality data may result in inaccurate models. Some machine learning models, especially complex ones like deep neural networks, are often considered as “black boxes” because understanding how they arrive at specific decisions can be challenging. Balancing the complexity of a model is crucial. Overfitting occurs when a model learns the training data too well but struggles to generalize to new data. Underfitting occurs when a model is too simple to capture the underlying patterns in the data. Machine learning systems can inadvertently exacerbate existing biases in the training data. 

Deep Learning is a specialized subset of machine learning that revolves around the concept of artificial neural networks. It aims to emulate the human brain’s structure and functionality, allowing machines to learn and make decisions in a manner similar to how humans do. The term “deep” in deep learning refers to the use of deep neural networks with multiple layers, enabling the system to automatically learn hierarchical representations of data.

At the core of deep learning are neural networks, which are composed of layers of interconnected nodes or artificial neurons. These networks are inspired by the structure and functioning of the human brain, with each layer extracting progressively more abstract features from the input data. Deep neural networks consist of an input layer, one or more hidden layers, and an output layer. Each layer contains nodes, also known as neurons or units, which process and transform the input data. The hidden layers allow the network to learn intricate patterns and representations. Activation functions introduce non-linearities to the neural network, enabling it to learn complex relationships within the data. The connections between nodes in a neural network are defined by weights and biases. During the training process, these parameters are adjusted to minimize the difference between the predicted output and the actual output, allowing the network to learn from data. Deep learning models undergo a training process where they learn to map input data to the desired output. This involves feeding the model with labeled data, adjusting the weights and biases, and optimizing the model to make accurate predictions. 

The simplest form of deep learning architecture is Feedforward Neural Networks, where information travels from the input layer through the hidden layers to the output layer. Convolutional Neural Networks are optimized for image processing, and use convolutional layers to automatically and adaptively learn spatial hierarchies of features from input images. Just to clarify; a convolutional layer is a special layer in a computer program that looks at different parts of a picture at a time, finding specific patterns like edges or shapes to help understand what’s in the picture. Recurrent Neural Networks are more suitable for sequence data, and have connections that form directed cycles, allowing them to retain information from previous inputs in the sequence.

 Deep learning has significantly improved the accuracy of image recognition tasks, allowing systems to identify and classify objects in images. It has also revolutionized speech recognition technologies. In Natural Language Processing deep learning models are used for tasks such as language translation, sentiment analysis, and chatbots. Deep learning is applied to medical image analysis, diagnosis prediction, and drug discovery. It helps detect abnormalities in medical images and assists in personalized treatment plans. Deep learning powers perception systems in autonomous vehicles, enabling them to recognize and respond to the surrounding environment. Deep learning is employed in gaming for character animation, object recognition, and procedural content generation. It enhances the immersive experience in virtual reality environments.

Deep learning models often require large amounts of labeled data for training, and obtaining such datasets can be challenging in certain domains. Training deep neural networks can be computationally intensive, requiring powerful hardware. Understanding how deep learning models arrive at specific decisions, especially in complex architectures, remains a challenge.  

Deep Learning has emerged as a revolutionary force in the realm of artificial intelligence, enabling machines to learn intricate patterns and representations from data. As the field continues to evolve, the applications of deep learning are expanding across diverse domains, pushing the boundaries of what machines can achieve in terms of perception, understanding, and decision-making. The ongoing research and advancements in deep learning hold the promise of transforming industries and shaping the future of intelligent systems.

While AI overall brings about numerous benefits, it also poses challenges, including ethical concerns, bias in algorithms, job displacement, and the potential for misuse. As AI continues to advance, it’s crucial to address these challenges and ensure responsible development and deployment. Artificial Intelligence is a transformative force reshaping industries and societies. Understanding its basics empowers us to appreciate the positive and negative aspects of this technology. As we navigate the evolving landscape of AI, staying informed and engaged will be key to harnessing its benefits responsibly.

Why Unreal Engine

Image by Craig Adderley

So why am I trying to learn Unreal Engine? With so many great game engines out there, why this one in particular? Well, the big reason of course is that I can download it and play with it completely for free, which suits my rather slim budget quite well. Another reason is that I have some old friends in similar situations as myself who are also learning UE, which means I’m not alone. The game engine also has an impressive array of capabilities that will allow me to do just about anything I’ve ever imagined.

Nothing beats free software with a huge range of support behind it. I don’t have the time or extra cash to go to a school where I have access to expensive software. Plus, I may spend a year learning it and then decide I want to try something else. Free means there is no pressure to make an income out of this if I don’t want to. For now it’s still fun and engaging, but I’m still a newb. This is a similar line of thinking that directed my interest toward learning Blender and not Maya. 

 Unreal Engine is software developed by Epic Games, offering a myriad of capabilities including robust graphics and advanced rendering features, including high-quality visual effects, realistic lighting, and detailed textures. This enables developers to create beautiful, lifelike environments and characters. UE is a preferred choice for creating AAA titles and cutting-edge virtual reality applications. It’s relatively user-friendly and offers a wide range of built-in tools for various aspects of game development, such as level design, animation, physics simulation, and visual scripting through Blueprint. These intuitive tools streamline the development process, empowering both seasoned professionals and newcomers to bring their creative visions to life.

Unreal Engine also supports multiple platforms, including PC, consoles, mobile devices, and VR headsets. This cross-platform compatibility allows developers to create games for diverse audiences without needing a lot of extra software or resources.

Another benefit of Unreal Engine is the community support and extensive documentation. The engine boasts a large and active community of developers, fostering collaboration, sharing of knowledge, and access to numerous resources, tutorials, and forums. This support network is invaluable for developers seeking assistance, troubleshooting, or guidance during their game development journey.

Now we are back to UE’s attractive pricing model. While it used to have a royalty-based system for revenue generated from games, Epic Games now has a more friendly approach, offering royalty-free access to the engine’s full suite of tools, making it even more accessible to developers of all sizes. Of course if you make an awesome game and get a ton of money you need to pay your dues, which is fine. If I somehow manage to publish something with this engine that makes more than a million dollars, Epic is welcome to their cut.

In summary, Unreal Engine’s graphical capabilities, user-friendly interface, versatility,  support, and price point, make it an easy favorite for people like me who are starting out and exploring our options.

Happiness Part One

Image by Chris F

I find myself in a bit of an unusual position as I delve into this topic. The ideas surrounding this form of self-improvement have often struck me as cheesy and uncomfortable. However, as I’ve matured over the years, my perspective has shifted, leading me to a profound realization: happiness stands as the single most overlooked aspect of my personal development journey. I admit, I’m a bit hesitant to explore the realm of self-improvement in my writing. It’s not that I lack knowledge—I’ve delved into everything from Napoleon Hill to Tim Ferris, devouring hundreds of books on the subject. However, I’m not exactly the stereotypical ‘self-help guru.’ I don’t rise at 4 am, run 10 miles, meditate for 30 minutes, and then consume a bio-hacked breakfast. I’ve attempted that lifestyle before, but it simply doesn’t align with who I am. My approach is decidedly more moderate. Having said that, I’ll begin by sharing what I consider to be the most valuable insights from my own experiences.

It’s easy to forget that the pursuit of happiness is something we have to constantly work at. If we neglect it for too long we can slide into a spiral of negativity. Sometimes the change is so subtle we don’t even realize it’s happening until our emotions surface or someone points it out to us. The desire for true happiness is a common theme for humanity, but understanding how to cultivate and sustain it remains a challenge for many, including myself. Fortunately, there are numerous practical approaches, insights, and lifestyle changes that can contribute to nurturing our well-being.

Mindfulness, in the context of self-awareness, is often associated with meditation. This can be a powerful tool that can bring real benefits to our daily lives. I honestly think that learning this practice can bring relief from a host of psychological disorders. By practicing mindfulness, you can obtain a heightened awareness of the present moment, enabling you to better manage stress, anxiety, and negative thoughts. Exercises like focused breathing or mindful walking can gradually train the mind to stay present, fostering a sense of calm and contentment. It took me a while to take mindfulness seriously. I was in my 30’s when I read “The Power of Now” by Eckhart Tolle and it was a serious game changer. Granted I have to take a lot of what he says with a grain of salt, but the techniques and the ideas work. You should also understand that this is not as easy as it sounds. It takes time, discipline and repetition.

Cultivating gratitude is another somewhat surprising path to happiness. Taking time each day to acknowledge and appreciate the positive aspects of our lives can have a similar effect on our mental well-being. We can do this through interactions with friends and family or as part of our daily meditation by reflecting on what we are grateful for. This practice helps us appreciate what we already have. This one is still really hard for me. I think clawing my way up from the bottom has jaded my sense of what being grateful means. Like so many other things though, this is something I’m working on because I can see the value in it.

Human beings are generally social creatures, and meaningful relationships play a crucial role in our happiness. Spending quality time with friends and family, or contributing to our community can increase our happiness by improving our feeling of  belonging. As an introvert I have some difficulty with making and keeping friends, so I have relatively few really good friends. I still find joy in the creation and participation in large gatherings of familiar people. There is something about surrounding myself with positive interactions that creates a feeling of peace and satisfaction. I usually do this by feeding people. I invite them over for a barbecue, and watch them mingle and create new connections. I also recommend Meetup groups if you are single and have free time.

Another way to stay happy is by keeping engaged in challenging and inspiring activities. For me hiking is a big part of this. There is something about spending all day in the wilderness, the freedom, the independence, that keeps me mellow. The sense of accomplishment and boost to self esteem doesn’t hurt either. My other common go-to activity is video games. There is something about immersion in a sprawling fantasy world that triggers my sense of wonder and creativity. 

I believe physical health and mental well-being are thoroughly linked. Exercise, diet and sleep all combine to affect our mood and mental resilience. Engaging in physical activity releases “feel-good” hormones, and a healthy diet and proper rest contribute to a more balanced and energized state of mind. It’s been my experience that you don’t have to be a crazy work out nut to gain some substantial positive effects. A short 20-minute walk outside is enough to settle my thoughts in most cases. Controlling your diet can be tough, it takes time and money to eat well in most cases and it’s easy to cut corners and eat poor quality food. Sleep can also be challenging for some people. I used to be a terrible insomniac, only sleeping 4 or 5 hours a night. There are so many issues that contribute to poor sleeping, it’s hard to narrow down what one particular person’s issues are, and not every cure works the same for everybody. My issues were mainly a combination of future anxiety and back problems. It eventually took a combination of meditation, melatonin, a chiropractor and a tempurpedic mattress to get me mostly sorted out.

Success in happiness is a combination of a variety of factors. These factors are different for everybody. The first step is understanding that there are tried and true changes that can affect your well-being in a positive manner. By incorporating these elements into our daily lives, we can incrementally improve day by day. Learn to not look at happiness as something transient like a drug induced-high. It is a state of mind and being that can be cultivated and sustained. Start small, be patient and stick with a plan. The journey may be difficult at first, but it gets easier and I guarantee it’s worth it.

Sampling

Image by pixabay

Through the course of research and learning I am slowly discovering more of what I need to know. I can see why a background in computer science is required by many potential employers. Since I have neither the time or money to get a computer science degree at this time I am figuring out how to gain as much knowledge as possible using free or less expensive resources.

I have listened to Cyber security for Dummies and Artificial Intelligence for Dummies and I’m almost finished with Data Science for Dummies. All of these books are free on Audible. Cyber security quite frankly scares the crap out of me. It was stressful just listening to it. I think a job in that field would be too high-liability for my tastes. I’m already stuck in an industry like that and not interested in taking my chances on another. Artificial intelligence is interesting and I definitely want to learn more about it. In the end, however, I’m more interested to see how this technology can make my games better, than being on the cutting edge of development. Data science is interesting and I feel like I need to know more about it. Even though I feel pretty strong in math, a lot of the terminology they were using went over my head. It’s also such a broad topic, I feel the need to dive into some specifics.

I have also started taking some free classes including the CS50 intro to computer science from Harvard through edX. The main instructor is very engaging and easy to understand. I’m not crazy about the edX user interface or the way they keep prompting me to upgrade to an accredited version of the course. It’s still a free class with lots of good info and professional instruction so I feel like you can’t go wrong.

I started a Coursera class on machine learning and realized I was in over my head from the beginning. I have put that class on hold until I can get a little more background. My latest Udemy class on Unreal Engine RPG building is a little more C++ intensive than I had originally thought, so I may have to put it on hold as well until I can practice with visual studio some more.  This class is also a wake up call on how much space you need on your hard drive for Unreal Engine. The first part of the class had me do a modest download of 20 gigs to get started with some terrain and trees and such off Quixel Bridge. The next part of the lesson asked me to download Valley of the Ancients, which is over 200 gigs, to use some of its geologic features.  On a somewhat related note, I recently found out my internet service provider only allows so much free data per month before they start charging me extra.

I feel like I have a little more direction after listening to some audio books and dipping my toes in a few classes. As I rework my goals I will rework my blog to accommodate as needed. I am feeling energized as retirement draws closer and the new world of employment opens up. I know that my goals of a stay at home game development job are far off but I’m not discouraged yet, and believe me, there are a lot of naysayers. I’m also a pragmatic realist and have lots of backup options. An upgrade, however, is doing something that makes me happy, and that is still a goal worth shooting for.

What is an Upgrade?

What is an upgrade? This is one of the questions I have wrestled with throughout my life and one I will address periodically in my writing. One of the first things people may think of is improving the technology you’re working with, like getting more RAM for your computer or maybe a better graphics card. Others may immediately consider trading in the old wife for a newer younger model. I would suggest that upgrading is not quite so simple. If you calculate the cost of upgrading individual computer components including the time spent and the frustration of conflicting software issues or the continuous nickel and dime effect, is it really worth not buying a whole new computer? Don’t get me started on doing a wife trade in. I think books have been written on the subject. Lets just say younger is not equivalent to better.

      I believe an upgrade should add value, reliability, and an overall improvement to your life. Value can be monetary or emotional, but it should retain its value. A vacation to the south of France may seem like an upgrade over last year’s vacation to Orlando, but that extra 10-20k is retained only as memories, pictures and bragging rights. Reliability means the ability to provide value continuously or at least multiple times without a major decrease in effectiveness. That ice cream sundae might make you feel better right now, but it only lasts a few minutes. Upgrading to a tub of ice cream that will last for weeks, might seem like sustainable happiness, but when we look at value and long term health, it is still a very questionable choice. 

      Clarifying what constitutes an overall improvement is even more subjective and complex. Investing in transient items like food and clothing might not seem worthwhile unless we factor in long term health and confidence benefits. A healthier diet will likely cost more in both money and time, but if you can live an extra decade the impact is surely a net positive. Yet, how can we know if we will actually live longer? I think most of us subconsciously mistrust the data and assume we could be hit by a car and die any day. You might disagree, but how many of you can consistently deny that unhealthy treat? How many times have you postponed that rigorous exercise routine?

How much should you spend on a wardrobe improvement? This is not something I generally worry about, as I usually only buy a couple of new clothing items a year to replace worn items. Recently, however, I’ve lost a bunch of weight and I’m looking to upgrade. A new set of clothes can give us confidence and help with networking or nailing a job interview. It’s easy to be cheap and get low quality brands, but people notice. I live in southern California, the land of image critique. I know business owners who respect a well dressed potential employee along with the ability to use an iron and a lint brush, or pay for a dry cleaner. All that being said, it’s easy to go overboard and blow money on a closet full of stuff you’ll never wear. I wouldn’t know but apparently clothes shopping can be addicting. I know someone who has  50k in their closet from when they used to work in an office and now it just sits there while she works from home in her pajamas. 

I would propose that a way to solve or at least mitigate some of the ambiguity of what constitutes positive or negative change is to invest in education and discipline. These skills can provide long term value and have the bonus of being virtually free to obtain. The education portion gives you a better idea of what will improve your life and what will not. Improving discipline incorporates the ability to make more positive changes and be consistent. Those who have spent a lot of time in the books know that education can also be a trap. It is a business after all. People invest thousands of dollars on education sold to them by professional sales teams all the time. No, I’m not just talking about college students, but they tend to be the most prevalent  victims. Look up any skill from chess to dancing and you can find dozens of books or personal instructors willing to take your money and educate you. So knowing what to learn and how to learn efficiently is also important. I suppose you could say we need to learn what to learn, independent of the agenda of others.

The acquisition of discipline is a whole other beast. This skill is mysterious and difficult to maintain, it waxes and wanes, it punishes and gives. Discipline can also seem like a catch 22, you need it to win, but too much losing can destroy your confidence and this becomes the downward spiral that saps discipline as well. So how do you get it? Is it something some people have and others do not? You can literally fill a library with books on the subject, and I’ve read a lot of them. The fact is, however, reading and doing are very different things. 

I believe discipline works differently for different people and is affected by a variety of environmental and genetic factors. Personally, I always had a chip on my shoulder from growing up relatively poor, but much of that went away when I finally achieved a comfortable living. I have evolved and motivation has become much more situational for me. If you are new to needing or wanting discipline, start by thinking about what motivates you or gets you psyched up, like before the big game. Think about your goals and what you are passionate about. Imagine that you can actually brainwash yourself into being excited about something through self-talk. I plan to address discipline in future posts, but if you are interested and new or out of practice with self improvement, I suggest you pick up Napoleon Hill’s classic “Think and Grow Rich” for some light inspiration.

Inspiration and Distraction

Image by: cottonbro-studio

I’m working on a class through Udemy that is going to teach me how to make a role playing game. It looks like it will be an action adventure type RPG like Skyrim or The Witcher. For the moment I’m working on the landscaping tutorials, learning how to sculpt and erode terrain. I noticed that I can drag and drop different materials onto the panels of my landscape, but I’m a little disappointed I can’t just drag grass and detritus and stuff directly onto my brush and paint the terrain with it. The tutorial has me creating a custom landscape blueprint with six different materials from Quixel Bridge and merging them. More on that when I get through it. 

It’s been hard to find time lately since I’ve been sucked back into Elder Scrolls Online. Those who have played know what I’m talking about. This is a game my wife and I probably have a thousand hours in. ESO is the type of game I would like to learn to create.

So what happened was, we were checking out the preview videos for Starfield and lamenting about how it wasn’t on Playstation and it was not an MMO. My wife loves sci-fi games so I thought she might like to try it on PC. However, after watching one Youtube video she declared decisively: “It’s basically Mass Effect, and we can’t even play together.” So that decided it. Gaming is a family event in our house and if we can’t interact in the same world we don’t spend much time on it. Then we got to talking and comparing it to other games, and of course ESO came up and we watched a video on the Necrom DLC and the next thing you know we were questing.

So why ESO? First of all its on console, my wife, son and I all game, we all have our own PS4s and our own TVs. This setup costs way less than if we were all computer gamers. Second, its an MMO which means we can all play together and the game is massive. There is so much to do, there is something for everybody. I can be the merchant, my wife can do pvp and my son can explore and collect the flora and fauna. Most importantly, we can spend quality family time slaying monsters and bad guys together.

ESO isn’t perfect, I would like a classless progression system, flight, skyships, underwater cities and a million other things. I think of all the wonderful options the game provides and imagine what could be better. This is part of the inspiration, not only do I want to know how to create everything on ESO with Unreal Engine, I want to know how to make it bigger and better. 

Anyway, hopefully I can break away before I dump another thousand hours in and learn some more Unreal Engine.

My first completed class

My first step on improving my future career outlook was to take an Unreal Engine course on Udemy.com. It is a 10-hour course that teaches how to create a basic game involving fire damage, platforming, collecting some orbs and opening an end door.

If you are unfamiliar with Udemy you should check it out. They have classes on just about everything. Some of them seem a little overpriced or outdated but they have sales fairly often and I like that you can go at your own pace jumping back and forth as needed. The learning is better structured and the instructors seem to be more knowledgeable and the classes more organized than many YouTube videos I have tried.

I’ll start by saying that this 10 hour course actually took me closer to 30 hours. I needed to slow things down to see what the instructor was doing and go back and re-watch several portions. There were also fairly large gaps of time between some of the lectures due to my schedule and I needed to go back and refresh my mind when restarting.

One of the issues I ran into occurred when creating the timing for the moving platforms and other animations. We used a timeline node and created a cycle with keys where we input the x and y values given by the instructor. For some reason whenever I compiled and saved the timelines and went the play the game, the animations did not work. When I went back in and re-entered the keys a second time and compiled it suddenly worked. This happened every time I did a timeline, I would have to go in and redo the coordinates for it to work. I still haven’t figured out why.

The other issue is somewhat embarrassing but apparently something similar happened to a friend of mine. There is a door at the end of the level that I thought was supposed to open when I approached the collision barrier around it. Needless to say, it did not work and I spent an uncomfortable amount of time trying to figure out why. Well it turns out it had about 2 weeks of time between when I created the door and when I finally tried to use it in game. It turns out that the door was set to open when the ‘F’ key was pressed on the keyboard and I had totally forgotten until I went back through the lesson. So I am making an effort to go through classes more consistently with less of a gap between lessons. 

This class was relatively easy to follow with a good walk through of basic level editing functions and a tutorial on actors in the beginning. I feel like it improved my confidence with the software somewhat and I learned a lot of the terminology involved with Unreal Engine and basic blueprint programming.

My first game build