a-alex-hammer
a-alex-hammer
Alex Hammer
199 posts
At Ecommerce ROI, we wrap around your passions like water wraps around the body. We bond with the customer on a self-discovery and self-actualization journey.
Don't wanna be here? Send us removal request.
a-alex-hammer · 5 years ago
Video
Advanced Success Secrets
0 notes
a-alex-hammer · 5 years ago
Video
instagram
0 notes
a-alex-hammer · 5 years ago
Link
0 notes
a-alex-hammer · 5 years ago
Video
instagram
0 notes
a-alex-hammer · 5 years ago
Video
youtube
Think and Grow Richer The Psychology of Success Modeled on the work of...
0 notes
a-alex-hammer · 6 years ago
Text
bikini
Tumblr media
bikini Source/Repost=> https://www.pinterest.com/pin/819936675890026056/ ** Alex Hammer | Founder and CEO at Ecommerce ROI ** https://www.pinterest.com/creatingyourmostsuccessfulyout/
0 notes
a-alex-hammer · 6 years ago
Text
Virtual reality battles PTSD
A Marine Corps veteran suffering from PTSD seeks treatment through a virtual battle. CNN’s T.J. Holmes reports. source
The post Virtual reality battles PTSD appeared first on technewsdestination.
Source/Repost=> http://technewsdestination.com/virtual-reality-battles-ptsd/?utm_source=rss&utm_medium=rss&utm_campaign=virtual-reality-battles-ptsd ** Alex Hammer | Founder and CEO at Ecommerce ROI ** http://technewsdestination.com
0 notes
a-alex-hammer · 6 years ago
Text
Artificial Intelligence: Thinking Big – KQED QUEST
Though computers have gotten faster, smaller and more versatile, it’s still a big challenge to get them to demonstrate intelligent behaviors. Will machines like … source
The post Artificial Intelligence: Thinking Big – KQED QUEST appeared first on technewsdestination.
Source/Repost=> http://technewsdestination.com/artificial-intelligence-thinking-big-kqed-quest/?utm_source=rss&utm_medium=rss&utm_campaign=artificial-intelligence-thinking-big-kqed-quest ** Alex Hammer | Founder and CEO at Ecommerce ROI ** http://technewsdestination.com
0 notes
a-alex-hammer · 6 years ago
Text
Hallmarks of innovation at Massachusetts Institute of Technology | ANC-X Executive Class
Just 10 minutes from Harvard is yet another outstanding academic institution, the Massachusetts Institute of Technology or MIT, a place for renowned innovators … source
The post Hallmarks of innovation at Massachusetts Institute of Technology | ANC-X Executive Class appeared first on technewsdestination.
Source/Repost=> http://technewsdestination.com/hallmarks-of-innovation-at-massachusetts-institute-of-technology-anc-x-executive-class/?utm_source=rss&utm_medium=rss&utm_campaign=hallmarks-of-innovation-at-massachusetts-institute-of-technology-anc-x-executive-class ** Alex Hammer | Founder and CEO at Ecommerce ROI ** http://technewsdestination.com
0 notes
a-alex-hammer · 6 years ago
Text
What is Blockchain
Blockchain explained. Shai Rubin, CTO of Citi Innovation Lab, explains in an easy and simple way the basics of blockchain. source
The post What is Blockchain appeared first on technewsdestination.
Source/Repost=> http://technewsdestination.com/what-is-blockchain/?utm_source=rss&utm_medium=rss&utm_campaign=what-is-blockchain ** Alex Hammer | Founder and CEO at Ecommerce ROI ** http://technewsdestination.com
0 notes
a-alex-hammer · 6 years ago
Text
Even if it’s not graduation week for you…
Consider writing.
Not plastics.
Not Wall Street.
Simply writing.
As we race toward a post-literate world, the surprising shortcut is compelling indeed: Learn to write.
Audiobooks outsell print. AI can turn text into speech. People scan, they don’t read.
Doesn’t matter. Learn to write.
Yes, it would be great if you could become a full-stack developer. If you put in the hard work to be a civil engineer or a mathematician on the cutting edge. But most people were persuaded from an early age that this isn’t the work for them.
But writing?
If you’re an actor, being able to write means that you can cast yourself.
If you’re a marketer, being able to write means you can tell your story.
If you’re looking for a job, being able to write makes you part of a special minority.
Writing is organized thinking on behalf of persuasion.
Writing is your opportunity to stand out, to pitch in and to make a difference.
And you don’t need a permit or equipment. You don’t need an insider’s edge, or money either.
Writing may be the skill with the highest return on investment of all. Because writing is a symptom of thinking.
Source link
The post Even if it’s not graduation week for you… appeared first on technewsdestination.
Source/Repost=> http://technewsdestination.com/even-if-its-not-graduation-week-for-you/?utm_source=rss&utm_medium=rss&utm_campaign=even-if-its-not-graduation-week-for-you ** Alex Hammer | Founder and CEO at Ecommerce ROI ** http://technewsdestination.com
0 notes
a-alex-hammer · 6 years ago
Text
Legal tech startup Atrium's business model incentivizes efficiency over milking billable hours, as most law firms do, giving it a leg up in automating busywork (Josh Constine/TechCrunch) http://bit.ly/2N5C4gD 
Legal tech startup Atrium's business model incentivizes efficiency over milking billable hours, as most law firms do, giving it a leg up in automating busywork (Josh Constine/TechCrunch) http://bit.ly/2N5C4gD 
Source/Repost=> https://twitter.com/AIHammer/status/1142477793588121606 ** Alex Hammer | Founder and CEO at Ecommerce ROI ** https://twitter.com/AIHammer
0 notes
a-alex-hammer · 6 years ago
Text
Less than a day after breaching $10K, Bitcoin climbs to $11K+, as the unveiling of Libra and increased institutional support spur hopes of mainstream adoption (Wall Street Journal) http://bit.ly/2Lhf0Jl 
Less than a day after breaching $10K, Bitcoin climbs to $11K+, as the unveiling of Libra and increased institutional support spur hopes of mainstream adoption (Wall Street Journal) http://bit.ly/2Lhf0Jl 
Source/Repost=> https://twitter.com/AIHammer/status/1142442454391689216 ** Alex Hammer | Founder and CEO at Ecommerce ROI ** https://twitter.com/AIHammer
0 notes
a-alex-hammer · 6 years ago
Text
10 Expert Tips for Sound Sleep At Night
It’s true; there’s no greater wealth than good health. Superior health is not just physical, but it is also a mental health issue. Both of these health issues work together and are essential for your “life” well-being. One of the most significant quests that will pay-off in your life — is ways to sleep soundly at night.
Understanding the Need for Self-care
“Time and health are two precious assets that we don’t recognize and appreciate until they have been depleted.” -Denis Waitley
In recent times, technology and digital devices have taken over our lives.
Everyone has a smartphone they’re using the entire day, not to mention the hectic schedules and deadlines each of has to deal with. While the quality and standard of life has certainly improved, it has come at a price; health.
Health isn’t something that can or should be gambled with. Two factors play a significant role in how healthy you are, namely, diet and sleep. Eating the right food and sleeping the right amount can create that perfect balance for your health to rely on.
By neglecting certain factors, you run the risk of falling ill or taking a hit to your immune system and attracting diseases that might otherwise be avoided.
Even at workplaces, many companies are beginning to lay a foundation that prioritizes the effort to set up a work environment that promotes welfare for health. Start-ups today are working on building a culture that encourages wellness because they understand how health and wellness will impact productivity and growth.
For now, we’re going to focus on one of these factors – sleep. The right amount of sleep, and also the right quality of sleep, can make a significant difference to your health both mentally and physically.
Studies have shown that although all adults require a minimum of six to seven hours of sleep, eight hours have remained the constant recommendation. 35% of Americans sleep less than that every night. 20% of adult Americans have some form of sleep disorder, and almost all teenagers are sleeping less than the needs of their bodies indicate is best.
There are several reasons why we sleep less or don’t get a favorable quality sleep, but we seem no to pay attention to these points of our lives. Stress, ill health, distractions, lack of will, physical lethargy, lack of exercise, eating food at odd times all contribute to poor health and poor sleep habits.
Apart from the reasons that are beyond our capacity, such as genetic sleep disorders, most other factors are very much under our control. And yet, since the year 1985, the percentage of adults getting inadequate sleep has increased by over 30%.
The Health Effects of Improper Sleep
1. Brain Matters
Image Source: No attribution required
The brain is the center in the body that is responsible for functions like concentration, focus, responsiveness, and memory, amongst many others. The habit of forgetting easily plagues many people today and can be seen, especially in young adults who are supposed to have a great memory.
Sleep deprivation has been cited as one of the main reasons why both short and long-term memory can be adversely impacted. A lack of sleep hampers Even focus and concentration.
Essential for working individuals and entrepreneurs, who need to adjust their mindset for success through their habits and determination, a good nights sleep and adequate rest are key factors.
2. Mood Swings
Mood swings aren’t an alien concept, and everyone goes through them, but there is a threshold even for this common malady. Consistently suffering from mood swings and feeling like you’re not in control of your behavior is not normal, and can very well be a side effect of tiresomeness and lack of sleep. An escalation in this situation can lead to much more severe issues like anxiety and depression.
3. Weakened Immunity
Immunity is what helps us fight against harmful bacteria, viruses, and pollution that we encounter daily in the air. Our immune system keeps the body functioning and ready to take on any illnesses.
However, weak immunity can leave the body vulnerable and exposed to such threats on a larger scale, increasing the risk of ill-health. Improper sleep is a cause and affect issue with the immunity levels in the body.
New cell generation and the health and strength of the cell wall protect the body against disease. In a body without adequate sleep — the cells aren’t healthy enough to fight foreign substances nor diseases.
4. Weight Gain
Image Source: No attribution required
If you sleep less, it doesn’t mean that you’re somehow stronger — or that you’re not lazy. Contrary to popular belief, the right amount of sleep can actually help you with your weight loss and fitness journey. We may not need to lose any weight, but our lives need to always be on a fitness journey.
Leaving your body with inadequate amounts of sleep will invite a fatigued body and can reverse your metabolism. This lowered metabolism will then tend to break down food slower, causing you to put on weight even if you’re not overeating.
5. Skin and Hair
Taking care of your skin and hair is essential, not just for women but for men too. It’s not just about looking good or grooming, but also about maintaining the quality of your hair and skin.
Apart from what you eat and genetic conditions, sleep can have either a positive or negative effect on your skin and hair. People who sleep well have healthier hair, lesser hair fall, clearer, and more glowing skin, and look fresh and healthy overall.
How to Achieve Sound Sleep at Night
There are a number of habits and conscious efforts you can make to ensure that you’re sleeping well every night. These habits may involve making some serious lifestyle changes. Alterations to the habits you’ve had for a long time need not be a distressing issues; little by little (time) and a little self-reflection can go a long way.
Let’s look at some tips on how you can achieve sound sleep:
1. Eating Healthy
Image Source: No attribution required
Believe it or not, what you put into your body can have a significant impact on how well you sleep at night. When you eat healthily, your body finds it easier to break down the matter and absorb the nutrients. This way, when it’s time for you to sleep, your body is also at rest and in sync with your mind trying to rest.
However, junk food and food lacking in nutrition is a lot tougher for the body to digest, and also ends up storing more fat cells in the body. The body stays active, trying to break down the food while you’re trying to sleep. The body fighting to sleep, yet still having to work on digestion can cause acidity and other problems.
The results may show-up in disturbed sleep or what you’d describe as “tossing around in bed.” And it’s not just what you eat but also when you eat. Untimely meals, heavy meals, and meals just before bed can cause sleep deprivation.
Ultimately the goal is to eat healthy because all of the functions in your body are interrelated. Eating healthy can contribute to a healthy sleep cycle.
2. Stay Active
Staying active doesn’t have to mean hitting the gym for an hour every day; staying active is simply about keeping your body engaged in a sufficient amount of physical activity in a day so that you’re tired enough to fall asleep comfortably at night.
Most of us who work 9 to 5 jobs tend to have sedentary lifestyles, so physical activity is on the minimum. Over time, while our minds are constantly on a treadmill of thoughts, and the body is doing quite the opposite.
To avoid sitting all day while you’re awake and running all night when you are asleep there are some simple, everyday steps you can take to stay active:
Take the stairs whenever you can.
Walk or cycle around to places instead of driving or taking a cab.
Do a short at-home workout even if you can’t hit the gym.
Wake up early and get to bed early.
If there are chores to be done around the house, try to do them yourself.
Engage in fun activities during holidays, like dance classes or marathons.
The way to accomplish this goal is fairly simple. You will need to take the opportunity — every day — and participate in activities. If you eat right consistently, and exercise — sleeping soundly at night will not be that difficult.
3. Regulate Caffeine Intake
Image Source: No attribution required
We understand that coffee or tea can be boosters throughout the day, especially when you have too much to do and not enough energy to keep up with it. Over time, caffeine consumption can become a habit that’s hard to get rid of.
Over 90% of adult Americans consume caffeine daily, at least once, so it shows how caffeine does become a part of our diet. However, while canceling caffeine out might not be feasible; regulating it surely is.
Here are some tips for lowering your caffeine consumption:
Instead of consuming multiple cups of coffee a day, reduce it to one or maybe two.
Don’t consume caffeine on an empty stomach, and always accompany it with bread, biscuits, or some other light snacks.
Avoid caffeine consumption late at night, especially when it’s bedtime, even if you think that it doesn’t affect you.
Try not to take your coffee too strong, because it contains more caffeine and will stay in your body for a more extended period.
Choose decaf whenever you can.
Caffeine stays in the body for six to eight hours after consumption, which is why multiple cups of coffee or even tea can have adverse effects on your sleep. Black tea, lactose-free milk, or even hot chocolate without milk are better alternatives before going to bed.
4. Having a Sleep Schedule
Image Source: No attribution required
As boring as it may sound, maintaining a sleep schedule can do wonders for your sleep cycles. The “body clock,” as it’s popularly known, adjusts itself to your sleeping habits (and other habits) over time.
For example, if you’re used to waking up at seven am every day, and you’ve done so for a long period of time, you’ll most likely wake up at seven. You’ll wake up close to seven automatically even if your alarm fails to ring one day. When you know longer need your alarm — it’s a sign that your body has adjusted to this sleep cycle.
When you make sleeping late, waking up late, or even getting lesser hours of sleep a habit, your body clock will adjust to this habit, and that’s what it is — a habit. And while it might seem like a convenient arrangement, it can be quite unhealthy for you. Instead, you need to get your body adjusted to a healthy sleep schedule and make the effort to maintain that precise schedule as much as you can.
5. Bedroom Environment
The environment you sleep in can have either a positive or negative impact on your sleep. While we do pay attention to how our bedrooms look, how much attention do we pay to how it feels? The temperature, cleanliness, and comfort of your bedroom are all factors that determine how optimal your bedroom is to sleep in. You will want to set a cooler temperature in this room. You’ll also want to also keep your room and bed clean.
Another critical factor is the mattress you sleep on. Sleeping on the wrong mattress can be detrimental to your sleep, and also cause other ailments like body aches and bruises. When you purchase a mattress, you need to keep health as a priority and pick one that is suitable to your body, even if you have to spend a little more on this piece of equipment.
Look at a bed size chart by Mattress Insider that can be a helpful guide for making the right choice.
6. Prioritize Relaxation
Image Source: No attribution required
When you’re constantly on the move, both mind, and body, you have very little time to recuperate. Even machines need time to reboot now and then, and we are, after all, only human. As you get older, you are going to want to take a little more time off to just relax and rejuvenate.
You can do this in many ways, but with the ultimate goal of rehabilitating and recovering from whatever stress you’ve been through throughout the day.
Here are some tips for body and mind rejuvenation:
Meditate or listen to calming music before bed while setting a relaxing tone in your room.
Take hot showers and soak your body in soothing bathing salts now and then.
Take a short holiday whenever you get the time.
Read a good book and make it a ritual before bed. Reading helps with more sound sleep.
Take a massage or visit the spa in general whenever you can.
Reinforce positive energy into your body through positive environments and habits.
All of these suggestions may seem like essential tips, but how many people can say that they follow them? It’s not unusual for people to prioritize relaxation as they chase their ambitions and goals. Your favored goals will never be achieved if you’ve failed to take important self-care measures for yourself along the way. What good is a muscle car if the engine is faulty, right?
Good Sleep Takes Making it a Priority
You likely already know most of this information about taking care of your body with the right amounts of sleep. But I’m hoping that seeing this clearly listed here will help you set your goal for improving this very vital issue for optimal physical and mental health. Get the proper amount of sleep — start today.
Undisturbed sleep can be a real blessing, and its positive effects can be seen in many spheres of your life. You’ll be in a better mood, more active, less grumpy and sad, and watch your sleep impact your productivity and enthusiasm for life.
Step one to achieving the new fantastic you is recognizing the faults in your sleep patterns and begin your steps to fix this without delay. A few good hours of undeterred sleep can give you so many benefits — you are not going to want to miss out.
Source link
Source/Repost=> http://technewsdestination.com/10-expert-tips-for-sound-sleep-at-night/ ** Alex Hammer | Founder and CEO at Ecommerce ROI ** http://technewsdestination.com
0 notes
a-alex-hammer · 6 years ago
Text
Hands-on: The War of The Worlds Combines Theater With VR In London
Jeff Wayne’s The War of The Worlds: The Immersive Experience is a musical interpretation of the classic H.G. Wells science-fiction story. The project has been around for some 40 years as a rock opera musical experience with an album that’s sold 14 million copies and many sell-out stage performances too. Now, it has been re-created as a theatrical experience with VR interspersed throughout.
The new ‘War of the Worlds’ experience is focused on vignettes based around the key events from the rock opera.
The Location
Guests buy their tickets and reserve their slot online and arrive at an imposing building in London that has been transformed for the experience. On entering, guests are greeted by a giant (captured) Martian scout. After being registered, and assigned to their group, they wait at the ‘Spirit of Man’ bar. They then enter the attraction and are led through the story of the Martian invasion first narrated via an impressive holographic screen – only then to be thrown back in time to the events themselves.
Three kinds of immersive technology are employed in the experience – first with 3D viewers that usher the audience into the world of the 1800’s. Placed in a themed observatory viewing the heavens. This star gazing experience is interrupted by the devastating Martian invasion, and one of the live actors becomes the first victim to the invaders through an impressive practical special effect. The guests are then ushered deeper into the the venue by a soldier, where they take refuge in a nearby house only to be confronted in a darkened sequence by the aliens.
Backpack VR With Vive
We moved to the first use of full VR in the experience – the guests donning backpack PC’s and putting on HTC Vive headsets; they exit the house and enter a virtual re-creation of the countryside and come face to face with a 300-foot Martian fighting machine – gazing up as this monster blasts the surrounding landscape with its heat ray; rushing to a bridge for shelter the group then exit, helping their wounded guide.
Then to the second VR experience, groups jump onboard boats that are steered by their guide. This ends up in the heart of the naval battle between the Royal Navy battleship Thunder Child – protecting an escaping ferry from the attack of a Martian fighting machine. Escaping by only the skin of their teeth, the audience is ushered to ‘The Red Weed Bar’, where a pause in the action takes place and guests can purchase drinks.
The action resumes, rushed from the pub to a church. Guests in confessional boxes don their VR headsets again to see what’s happening in the church. Eventually, the audience stumbles on the underground remnants of humanity and see their fanciful plans to rebuild from underground – this enigmatic part of the “rock-opera” recreated using a dome display. Guests lay back within the enclosures, soaring through futuristic spires, from the imaginations of the mad Artilleryman.
Finally, the experience concludes once again in VR, guests entering their own personal hot air balloon that soars over the wasteland of the English country, seeing the abandoned Martian machines, as they succumb to destruction by the natural microbes of the planet. After this extravaganza the audience re-emerge into the main lobby of the attraction and the ‘Spirit of Man’ bar, where it all started.
The Achievement
One of the major elements the developer successfully captured is the use of motion-captured actors, rendered in the virtual environment, in a believable manner. While the technology still shows its limitations, the VR elements of the experience worked well and this is definitely something that is unachievable at home.
The 110-minute event is a two-part experience which bonds the audience together and offers a natural pause to the unfolding action. VR is used to place the audience in peril and wonder at the same time. The inclusion of a full bar with themed cocktails and refreshments, along with souvenir pictures of your group’s survival on this visit; all add to the social element of the proceedings.
At the opening of the attraction at the end of May, Andrew McGuinness – CEO of dotdotdot, the developers behind this undertaking, said they hoped the experience will continue beyond its initial run through August.
This attraction places the bar high for others to emulate. This is much longer than the 15 or so minutes of “Hyper-Reality” experiences, such as The VOID’s ‘Star Wars: Secrets of the Empire’. This is also more of an audience experience than an interactive VR game installed at an arcade somewhere. The 110-minute “immersive theatrical experience” charges some £49.50 ($62) per ticket. I was provided free entry to evaluate the experience.
About The Author
Kevin Williams is an author and presenter, as well as a consultant, specializing in the immersive out-of-home entertainment industry. He co-authored the book  “The Out-of-Home Interactive Entertainment Frontier” and is working on a new edition. He can be reached at [email protected]
Tagged with: experiences, location based
.special-buttons > * { text-align:left !important; }
Facebook
Twitter
Reddit
More
The post Hands-on: The War of The Worlds Combines Theater With VR In London appeared first on UploadVR.
Source link
Source/Repost=> http://technewsdestination.com/hands-on-the-war-of-the-worlds-combines-theater-with-vr-in-london/ ** Alex Hammer | Founder and CEO at Ecommerce ROI ** http://technewsdestination.com
0 notes
a-alex-hammer · 6 years ago
Text
Cognitive Mental Disorders and AI Ramifications: The Case of AI Autonomous Cars
By Lance Eliot, the AI Trends Insider
There are an estimated 1 in 5 of adults that will experience a mental illness or mental disorder in a given year (that’s based on U.S. statistics, about 20% or around 44 million adults so impacted). Generally, those adults are able to still function sufficiently and continue to operate seemingly “normally” in society. In terms of a quite serious and life altering mental disorder or mental illness that is more debilitating, such a more substantive and deep cognitive impairment will occur to about 1 in 25 of American adults during their life time (that’s about 4% or nearly 10 million adults).
That is a lot of people.
These are rather staggering numbers when you consider the sheer magnitude of the matter and how many humans are being impacted. Not only are those individuals themselves impacted, so too are the other people around them. The odds are that there is a sizable spillover of a particular individual having a mental disorder or mental illness and it causing loved ones and even strangers to be impacted too.
There’s a well-know guide that describes various mental disorders and mental illnesses, known as the DSM (Diagnostic and Statistical Manual of Mental Disorders). I mention the DSM because I sometimes get a reaction from people that seem to think the topic of mental illness or mental disorder is merely when you don’t feel like going to work that day or maybe are in a foul mood. It’s a lot more than that.
The types of mental disorders or mental illness that I’m referring to consist of schizophrenia, dementia, bipolar disorder, PTSD (Posttraumatic Stress Disorder), anorexia nervosa, autism spectrum disorder, and so on. These are all ailments that can dramatically impact your cognitive capabilities. In some instances the illness or disorder might be relatively mild, while in other case it can be quite severe. You can also at times swing into and out of some of these disorders, appearing to have gotten over one and yet it still lingers and can resurface.
Evolutionary Psychologists Help Trace The History Of Human Minds
Evolutionary psychologists ask a fundamental and intriguing question about these mental disorders and mental illnesses, namely, why do they exist?
An evolutionary psychologist specializes in the study of how the mind has evolved over time. Similar to others that consider the role of evolution, it is interesting and useful to consider how the brain and the mind have evolved over time. We know based on Darwin’s theory of evolution that presumably humans and animals have evolved based on a notion of survival of the fittest.
For whatever traits you might have, if it gives you a leg up on survival, you will tend to procreate and pass along those traits, while others that aren’t as strong a fit to the environment will be dying off and thus not passing along those traits. It is not necessarily that the physically strongest people per se will survive, and instead how good a fit they have to the environment that they confront that dictates survival.
This aspect about fit involves not just the physical matters of your body and limbs, but also includes your mental capacities too.
Someone that might be very physically strong could be a poor fit for an environment where being cunning is a crucial element to survival. Suppose I am able to figure out how to make an igloo and can withstand harsh cold weather, while someone much physically stronger is not as clever and tries to live off the snowy landscape without any protective cove or housing. The physically stronger people are likely to die off, while the clever igloo makers won’t die off, and therefore those traits of cleverness would be passed along from generation to generation.
You can be a studier of evolution and aim at understanding how the human body and brain have physically evolved over time. Did we at an earlier time period have a body that was fatter or thinner, maybe shorter or taller, perhaps fingers with more dexterity or less dexterity. Did we have a brain that was larger or smaller, and did it have more neurons or less neurons, was it physically the same shape or different than the shape of our brains today. These are primarily physical manifestations of evolution.
What about our minds?
Did we think the same way in the past as we do today? Were we able to think faster or slower? Could we mentally conjure up the complex thoughts that we can today, such as the mental efforts needed for Einstein’s theory of relativity or were our predecessors not able to think such in-depth thoughts?
Trying to study the physical elements of human and animal evolution is somewhat straightforward due to the physical evidence of our past. You can generally find the bones of our predecessors and deduce their physical characteristics. You can look at the huts they made and other tools they crafted, providing an indication of what their physical size and condition might have been.
It is a bit more challenging to figure out how our minds have evolved. The emergence of writing and the written record provide a significant clue to our mental capacities, though some would argue that it is not an entirely revealing form of evolutionary evidence. You could also look at the kinds of structures we have built and perhaps use that to guess at how our minds were working at the time, though we would have been limited too by the resources available.
Could you have written a computer program in the 1600’s or 1700s? Well, kind of hard to do since there weren’t the computer systems that we have today or in modern times. Would the mind of those that were living in that age have been able to write the programs that we can do today? You might assume that of course they could have and argue that all they needed was a Mac or PC or maybe Python or Java to do so.
We know that the abacus seemed to exist in the time of Babylon, and so you could infer that we had a mental capacity at that time for computing of a kind. There are historians that say the Greeks had a mechanical analog device, perhaps we’ll call it a computer, known as the Antikythera mechanism. This Greek “computer” was able to enhance calendars and served to improve astronomical predictions such as the appearance of eclipses.
In any case, you might have always assumed that the thinking that we do today is the same as the thinking of earlier humans, but we don’t know that’s the case for sure. Some people say that our minds are like vessels and the vessels have always been the same, while it is just the content that differs. In modern times, we have different content than did they have available in Babylon and for the Greeks. Nonetheless, you might argue that they still had the same thinking and mental capabilities as we do today.
This might not be the case. It could be that our mental capabilities have evolved over time. Perhaps our mental processing was of a more limited nature in the past. It could be that our ability to think has gotten better and better.
One also needs to be careful to not unnecessarily try to separate out the physical aspects from the mental aspects of thinking. In other words, the size and shape of the brain, it’s physical characteristics, might have something to do with our capacity to think. As such, as the brain has physically changed over time, which is relatively easier to document and detect, so too would presumably our ability to think.
You might try to argue that no matter what the physical characteristics of the human brain are, we are still able to think the same way and come up with the same thoughts. This seems like a doubtful theory. If we take a look at what we know of ancient cave dwellers, and the nature of their physical brains, it sure seems unlikely they could have had the same kind of thinking powers that we have today.
I am dragging you through this discussion about the brain versus the mind and do so to get us to the question posed by evolutionary psychologists.
Explaining The Basis For Mental Disorders
Why do we have mental disorders or mental illnesses?
Tying this to the aspects of evolution, one might assert that if mental illnesses and mental disorders are a bad thing, which I would guess most people would agree is likely the case, shouldn’t we have mentally evolved in a manner that those mental disorders or mental illnesses would no longer exist today?
Going back to my earlier example about the igloo, let’s recast the matter into the case of those that are prone to mental disorders versus those that are not. If we had a population of people and there was a segment that tended to have mental disorders, and another segment of people that tended to not have mental disorders, over time and the gradual exorcising aspects of survival of the fittest, it would seem that we’d expect those with mental disorders to not be surviving. They should no longer be passing along their mental disorder genes. Meanwhile, those that aren’t prone to mental disorders should be surviving and passing along their “no mental disorders” genes.
Gradually, the population should no longer exhibit mental disorders, one would theorize. It’s an evolutionary psychological phenomenon, we might suppose. Yet, as I mentioned earlier, around 20% of adults will have a mental disorder in a given year, and around 4% will have a debilitating and substantive mental disorder in their lifetime. Doesn’t seem like evolution has led to the eradication of mental disorders.
One argument is that those 20% and 4% numbers are perhaps pretty good. Maybe hundreds of years ago it was more like 50% and 10%, and we’ve gradually had evolution winding down on those percentages. Perhaps we should be pleased to see that it is “only” the 20% and 4% today, and we might also then anticipate or predict that in a few more hundreds of years it will continue to winnow.
Another argument is that maybe we will always see numbers of around 20% and 4% respectively. It could be that our mental processing is going to have mental disorders, no matter what else happens. In a sense, the advent of mental disorders is a kind of rounding error. If you want to have our grandiose capabilities of thinking, you need to accept that a certain percentage of the time there are going to be mental disorders. It is the yin and yang of having mental capacities.
Yet another argument is that we still in the midst of mental evolution and we don’t really know what is yet going to happen about our mental capacities. Maybe, in some weird way, we are going to evolve toward having even much higher percentages of mental disorders. It could be that those with the mental disorders are tending toward survival, while those without mental disorders will not. In this kind of bizarro world order, the 20% and 4% is someday going to be 90% and 70% (or other overwhelming counts).
You could tag along on the rising tide of mental disorder by theorizing that if there is a rounding error of having highly tuned mental capacities, the smarter we get then maybe the more of a rounding error that appears. That’s another vote then for the potential of having more mental disorders rather than having less.
We might need to also add into this evolutionary equation our own efforts regarding mental disorders.
I’ve so far acted as though evolution just happens and there isn’t any kind of human led impact on how things might evolve. Some would argue that we humans can shape to a significant extent how we evolve. For example, there is the couch potato theory that if we aren’t going outside and exercising as much as we used to do, the human body will evolve towards those bodies that are suited for couch potato efforts, apparently playing video games and doing binge watching of online cat videos (hint: we’ll have slovenly bodies!).
There are lots of efforts afoot to try and treat mental disorders. Likewise, there are efforts underway to prevent mental disorders from arising. Could those human led efforts thusly impact the evolutionary elements of mental disorders?
Some say that mental disorders will remain in our DNA and yet will be suppressed by these human led efforts. The potential of having a mental disorder will remain underground, hidden within our minds, and the human led efforts will merely keep it from springing forth. In that sense, we’ll supposedly continue to have the same mental disorder capacities as we do now, but the numbers of those exhibiting it will shrink.
Others would say that we are going to figure out what leads to mental disorders, somewhat akin to finding the source of the Nile. Once we figure out the basis for mental disorders, we’ll be able to trigger them off (or, I suppose, on), via specialized drugs or other means. It could be a physical brain aspect that’s involved. Or, it might be a purely “thinking” aspect and that by a specialized form of meditation you can prevent mental disorders. Someone might discover a universal mantra that when said repeatedly gets the mind to veer away from mental disorder. Who knows?
You could potentially argue that we need to have mental disorders or mental illnesses, since they might be a helpful sign and we just don’t realize it is. Perhaps it is like a mental alarm clock. The mental disorder is forewarning that the mind of the person is having difficulties. The mental disorder is like showcasing a fever when your body is starting to get sick. The fever gets your attention and you then take other efforts to help fight a bodily infection.
If we are going to suppress mental disorders, it could knock down our chances of detecting when someone’s overall mind is maybe beginning to tilt. Without the early warning system of the emergence of the mental disorder, perhaps their entire mind is going to break like an egg. If you suppress a fever and don’t know that a fever exists, you aren’t able to take other measures to get the body ready for the infection or illness that’s trying to takeover the body. Same might be said about the mind.
Implications Of Mental Disorders As a Mind Sign
Does a mental disorder imply that our minds are fragile and brittle?
Some would say that it is such a sign. Others might claim that it is actually a robust kind of signal, allowing the mind to let us know when something is amiss. We just don’t know today that it is that kind of signal and nor what to do about it. Down the road, once we’ve cracked the enigma of thinking, perhaps we’ll realize that mental disorders were a means to ascertain when a mind needed tuning. We just didn’t have the wherewithal to know what the sign meant and nor the tuning forks in-hand to deal with it.
There’s also the aggregate versus individual perspective.
Perhaps as a population, as a society, we need to have some percentage of humans that have a mental disorder. This seems at first glance nonsensical. We assume that all mental disorders should be erased or removed from society.
We don’t know what society would be like if we did so. You could claim that society would be better off, and we’d no longer have members of the population that are seemingly abnormal in comparison to the rest of the mental status of the population. Maybe we need to have a certain proportion of the society that has a mental disorder or mental illness. Without it, the society perhaps becomes worse off. Our societal capacity might be undermined if we eliminated all mental disorders, some might argue.
I’d like to leave you there for the moment, regarding the matter of mental disorders as it relates to evolutionary psychology, and let you ruminate about it.
Let’s now shift our attention to Artificial Intelligence (AI).
Should AI Embody Mental Disorders
Here’s why. If you believe that mental disorders or mental illness is an essential ingredient of thinking, and if AI is hoping to create a form of automation that is the equivalent of human thinking, should AI be incorporating “mental disorders” into AI systems?
When I pose this question, there are some AI developers that immediately gag and start to upchuck their lunch or midday snacks. Say, what? Are you serious, they ask?
These AI developers are striding mightily to make their AI systems as “perfect” as possible. Their vaunted goal is flawlessness. That’s the sacred quest for nearly every AI developer and software engineer on this planet. The system they develop needs to work without errors. It isn’t easy to achieve. It is very hard to achieve. We don’t even know if it possible to have flawless AI systems.
The radical notion that the AI systems should intentionally have “mental disorders” is a kind of high treason statement. It is the antithesis of what developers are trying to do. Oh, so we can not only allow errors to accidently creep into our systems, they say, but we are now supposed to actually build into those systems an on-purpose dysfunctional aspect? It is truly a sign of the apocalypse; some AI developers would lament.
Well, not so fast with those cries of foul.
Perhaps to reach true intelligence we might need to mix both the good and the bad of human mental processing. Suppose those two are inextricably linked. You might not be able to have the good, if you don’t also have the bad.
In that case, all of these AI efforts are doomed to not actually reach true intelligence, since they are intentionally avoiding and trying to prevent the bad. Simply stated, no bad, then ultimately no true emergence of the good aspects of intelligence. You might hit a barrier above which automated AI systems will never get any higher up the intelligence spectrum.
Notice too that I’ve fallen somewhat into the trap of labelling the mental disorders or mental illnesses as “bad,” which might be an inappropriate categorization. As mentioned earlier, it could be that mental disorders or mental illnesses serve a useful and “good” purpose, but we just don’t yet realize this to be the case. By taking the simplistic route of labeling it as bad, it lulls us into wanting to disregard it, and get us to expunge it.
This seems to be an advocacy for intentional imperfection, assuming you are tossing mental disorders into the strictly “bad” classification.
Let’s pursue this logic about the potential need for “mental disorders” in AI systems. If you are interacting with an AI system that is using Natural Language Processing (NLP), you would presumably want the AI to interact with you in a completely fluent and mentally stable way. Suppose it suddenly sparked a moment of schizophrenia during the dialogue with a human. Most of us are familiar with paranoid schizophrenia, often depicted in movies and TV shows, so we’ll use that type for this example.
You are using the AI NLP to place an order for your baseball team via an online sports products catalog. After looking at various baseballs bats and interacting with the NLP about which bats might be best to order, the AI unexpectedly drops into a paranoid schizophrenia episode. Are you getting that bat to hurt someone, it asks? Maybe to come and hurt me, it queries of the human. I’d guess that you might be disturbed by this line of questioning and opt to order your baseball gear from another website that doesn’t have an AI system containing paranoia tendencies.
Okay, so that seems to showcase that maybe we don’t want AI to embody mental disorders.
I’ll though return to the earlier point that maybe we won’t be able to achieve true AI systems without there also being present the potential for mental disorders. In that case, it then becomes an added factor of making sure that the AI system is able to self-check itself and catch the mental disorder before it emerges in a manner that is unsettling or creates problems. In the baseball bat example, there might be a self-check that catches the NLP as it attempts to ask the paranoid-like questions, and stops the AI from doing so, avoiding the rather disturbing impact it might have on the interacting human.
For my article about debugging of AI systems, see: https://www.aitrends.com/selfdrivingcars/debugging-of-ai-self-driving-cars/
For ghosts or bugs in AI systems, see my article: https://www.aitrends.com/selfdrivingcars/ghosts-in-ai-self-driving-cars/
For reverse engineering of AI systems, see my article: https://www.aitrends.com/selfdrivingcars/reverse-engineering-and-ai-self-driving-cars/
For my article about the aspects of one-shot Machine Learning, see: https://www.aitrends.com/selfdrivingcars/seeking-one-shot-machine-learning-the-case-of-ai-self-driving-cars/
Mental Disorders As Highlighting AI Error Handling
I’ll try to make this even more seemingly “sensible” by going the route of error handling in AI systems.
Do you believe that your AI system is utterly error free? If you say yes, I’d like to suggest you either have a toy-sized AI system that has no real complexity, or you are delusional (mental disorder!) about what your AI system is or might do.
Hopefully, most reasonable AI developers would acknowledge that there is a chance that an error exists within their AI system. A reasonable chance and not a zero chance. It might be entirely there by accident. It might be there by some intentional act. In any case, yes, there’s a chance or probability that an error or errors exist in the AI system.
Sadly, many AI developers don’t do much toward trying to catch errors. They focus most of their attention on trying to debug their systems for errors, and once they’ve finished the debugging, they release the AI system and hope that there aren’t errors as yet unfound. They tend to not build into the executing system itself much in the way of being able to catch errors as they arise at run time.
In theory, there should be a robust error detecting capability of any well-built and well-engineered AI system.
This is especially needed for AI systems that might involve serious consequences due to any hidden errors that might be encountered. An AI robotic arm in a manufacturing plant might go awry due to a hidden error or bug, and could potentially harm humans that are nearby, or cause destruction to the facilities of the manufacturing plant.
So, here’s where I am taking you. If we can agree that an AI system ought to have some definitive and robust error detection capabilities, we might dovetail into this notion and say that if “mental disorders” are needed to achieve truly intelligent systems, we can abide by that assertion, and still be hopefully be protected by ensuring that the otherwise already-needed error detection capability can cover for whatever untoward action that the “mental disorder” portion might cause.
Admittedly, I’d be quite hesitant at this stage of our collective understanding of the purpose for mental disorders or mental illnesses in humans, and the role it plays in intelligence, for me to be saying that you ought to willy nilly be adding such aspects into your AI system, and simultaneously trying to curtail or remedy them those mental disorders or mental illnesses via an enhanced error processing capability.
Perhaps this is more a future looking kind of approach. Down the road, assume we get stuck trying to achieve true AI, and are unsure of why. We scratch our heads, baffled because we’ve seemingly tried everything that would make “sense” to try and do. Counter-intuitively, the secret sauce it turns out is that we forgot to include mental disorders (well, perhaps we didn’t forget to do so, and instead intentionally avoided doing so), and so now to get to the final level of intelligence we need to add those into our AI systems.
For the nuances of the Turing Test for AI, see my article: https://www.aitrends.com/selfdrivingcars/turing-test-ai-self-driving-cars/
For my article about the potential of a Frankenstein of AI, see: https://www.aitrends.com/selfdrivingcars/frankenstein-and-ai-self-driving-cars/
For the possible rise of super-intelligence, see my article: https://www.aitrends.com/selfdrivingcars/super-intelligent-ai-paperclip-maximizer-conundrum-and-ai-self-driving-cars/
For my article about the concerns of an AI singularity, see: https://www.aitrends.com/selfdrivingcars/singularity-and-ai-self-driving-cars/
Revealing Of Tops-Down Versus Bottoms-Up AI Approaches
Here’s another twist for you.
First, be aware that there are two major camps of how we’ll achieve true AI.
One camp is the bottoms-up approach that tends to emphasize the Machine Learning or Deep Learning ways of developing an AI system. Typically using a large-scale or deep artificial neural network, this approach is essentially trying to mimic how the brain physically seems to be composed. We don’t yet really know the manner in which thinking arises from the trillions of neurons and quadrillions of synapses in the human brain, but maybe we’ll get lucky in that the efforts to simulate the brain via computational power and artificial neural networks will get us to true AI.
For the other camp, referred to often as the tops-down or symbolist group, the approach consists of pretty much programming our way toward true AI. Rather than trying to mimic the physical attributes of the human brain, we might be able to logically figure out what thinking consists of, and then create it in automation without having to essentially duplicate a brain structure per se.
The top-down camp would likely decry the bottoms-up approach and suggest that it might or might not lead to true AI, but if it does reach true AI, we might not know how it did so. We are only creating another black box and won’t have cracked open its secrets. Fine, say the bottoms-up proponents, since at least we’ll be able to use computational power to do what human intelligence can do, and maybe we don’t need to know how or why it happens but we achieved true AI (plus, there is the chance that during the journey to the black box we might actually unlock its secrets).
The bottoms-up camp might likely decry that the tops-down approach might not ever logically deduce how intelligence arises and be adrift forever trying to figure it out. It could be something that is not explainable in any manner that we can devise. Perhaps it is going to always be a black box. Rather than fruitlessly seeking to guess at the myriad of ways in which intelligence might be invented, let’s not avoid the one thing we have that has intelligence, the actual human brain.
Ahem, excuse me if I’ve somewhat overstated the extremity of the camp positions herein, which I do just for illustrative purposes. I’ll also offer that these are not necessarily mutually exclusive camps that are at dire and acrimonious logger heads (though some are!), and they can and do often work together (yes, they do). Happy campers at times, one might say.
For more about Machine Learning, see my article: https://www.aitrends.com/ai-insider/machine-learning-benchmarks-and-ai-self-driving-cars/
For my article about convolutional neural networks aspects, see: https://www.aitrends.com/selfdrivingcars/deep-compression-pruning-machine-learning-ai-self-driving-cars-using-convolutional-neural-networks-cnn/
For the role of probabilities in AI systems, see: https://www.aitrends.com/selfdrivingcars/probabilistic-reasoning-ai-self-driving-cars/
For my article about plasticity in neuroanatomy and Deep Learning, see: https://www.aitrends.com/selfdrivingcars/plasticity-in-deep-learning-dynamic-adaptations-for-ai-self-driving-cars/
I’m now getting to the twist that I wanted to share with you and will show how the camps matter ties to the topic of mental disorders and mental illnesses.
As stated, we have two overarching AI-aiming camps, one that is trying to build true AI from the bottoms-up, while the other camp is trying to go the route of top-down.
Suppose the bottoms-up camp discovers that mental disorders or mental illnesses emerge as part of the Machine Learning or Deep Learning neural networks approach. It just happens. Not because the camp made it so. Instead, once the large-scale Machine Learning or Deep Learning gets large enough, perhaps various forms of mental disorders and mental illnesses begin to appear as an outcrop of massively sized artificial neural networks.
This goes along with the notion that possibly our mental processing involving the “good” is inextricably connected with the “bad” (if we are going to label mental disorders as such).
If that “surprising” emergence happens, it would be quite interesting and would force us to reconsider what to do about the mental disorders and mental illnesses, which would then be ascribed as artificial mental disorders and artificial mental illnesses (artificial meaning as arising in the AI).
Meanwhile, let’s assume that the other camp, the tops-down advocates, either stumble upon the use of artificial mental disorders, perhaps inadvertently arising from the logics of their AI systems, or decide to purposely include mental disorders, in hopes of seeing whether it boosts overall the true AI attainment. They too might need to cope with the nuances of artificial mental disorders and artificial mental illnesses.
That’s some food for thought about the evolution of AI. Whoa, evolution, it’s all around us.
An entirely different perspective on this topic overall is that it at least highlights the importance of thinking about how mental disorders and mental illnesses arise in the matter of how we think. Not many in the AI field are giving this much due. As stated earlier, when your goal is aiming at perfection, you might not be carefully studying the nature of “imperfection,” but which if you did it might help you toward getting to the perfection that you seek. The yin and the yang, as it were.
Likewise, it is useful to consider what we can learn or glean from human mental disorders and mental illnesses for purposes of building AI systems from an error processing perspective. I’d dare say that the more we put error processing at the forefront of AI development, the better we will all be.
I mention this too because oftentimes it seems that error detection is shouldered solely by an individual AI developer. In my book, it takes a village to properly fight the error detection battle. By this I mean that if you are an individual AI developer and the only one of your team that seems to be devoted to error detection aspects, it is going to be an uphill battle.
You need to have AI leadership and management that embraces the error detection aspects. If the top leaders are only focused on error prevention, they will miss the aspects of error detection, a crucial fail-safe layer to any properly engineered AI system. An individual AI developer might not be provided with the resources, nor the time and rewards, needed to appropriately deal with error detection. In that case, the culture and leadership of the AI team has undermined a vital element of the AI system, and it is oversimplifying to put your gaze solely on the individual AI developer.
For the possibility of noble cause corruption by AI teams, see my article: https://www.aitrends.com/selfdrivingcars/noble-cause-corruption-and-ai-the-case-of-ai-self-driving-cars/
For my article about the burnout of AI developers, see: https://www.aitrends.com/selfdrivingcars/developer-burnout-and-ai-self-driving-cars/
For the dangers of groupthink in AI teams, see my article: https://www.aitrends.com/selfdrivingcars/groupthink-dilemmas-for-developing-ai-self-driving-cars/
For the importance of AI internal naysayers, see my article: https://www.aitrends.com/selfdrivingcars/internal-naysayers-and-ai-self-driving-cars/
For my article about potential egocentric AI developers, see: https://www.aitrends.com/selfdrivingcars/egocentric-design-and-ai-self-driving-cars/
Mental Disorders And Aspects Of AI Autonomous Cars
What does this have to do with AI self-driving driverless autonomous cars?
At the Cybernetic AI Self-Driving Car Institute, we are developing AI software for self-driving cars. Auto makers and tech firms need to be wise to error detection for AI self-driving cars, particularly since the safety of self-driving cars and humans are at stake. Perhaps mulling over the nature of AI and artificial mental disorders will spark such attention.
Allow me to elaborate.
I’d like to first clarify and introduce the notion that there are varying levels of AI self-driving cars. The topmost level is considered Level 5. A Level 5 self-driving car is one that is being driven by the AI and there is no human driver involved. For the design of Level 5 self-driving cars, the auto makers are even removing the gas pedal, brake pedal, and steering wheel, since those are contraptions used by human drivers. The Level 5 self-driving car is not being driven by a human and nor is there an expectation that a human driver will be present in the self-driving car. It’s all on the shoulders of the AI to drive the car.
For self-driving cars less than a Level 5, there must be a human driver present in the car. The human driver is currently considered the responsible party for the acts of the car. The AI and the human driver are co-sharing the driving task. In spite of this co-sharing, the human is supposed to remain fully immersed into the driving task and be ready at all times to perform the driving task. I’ve repeatedly warned about the dangers of this co-sharing arrangement and predicted it will produce many untoward results.
For my overall framework about AI self-driving cars, see my article: https://aitrends.com/selfdrivingcars/framework-ai-self-driving-driverless-cars-big-picture/
For the levels of self-driving cars, see my article: https://aitrends.com/selfdrivingcars/richter-scale-levels-self-driving-cars/
For why AI Level 5 self-driving cars are like a moonshot, see my article: https://aitrends.com/selfdrivingcars/self-driving-car-mother-ai-projects-moonshot/
For the dangers of co-sharing the driving task, see my article: https://aitrends.com/selfdrivingcars/human-back-up-drivers-for-ai-self-driving-cars/
Let’s focus herein on the true Level 5 self-driving car. Much of the comments apply to the less than Level 5 self-driving cars too, but the fully autonomous AI self-driving car will receive the most attention in this discussion.
Here’s the usual steps involved in the AI driving task:
        Sensor data collection and interpretation
        Sensor fusion
        Virtual world model updating
        AI action planning
        Car controls command issuance
Another key aspect of AI self-driving cars is that they will be driving on our roadways in the midst of human driven cars too. There are some pundits of AI self-driving cars that continually refer to a utopian world in which there are only AI self-driving cars on the public roads. Currently there are about 250+ million conventional cars in the United States alone, and those cars are not going to magically disappear or become true Level 5 AI self-driving cars overnight.
Indeed, the use of human driven cars will last for many years, likely many decades, and the advent of AI self-driving cars will occur while there are still human driven cars on the roads. This is a crucial point since this means that the AI of self-driving cars needs to be able to contend with not just other AI self-driving cars, but also contend with human driven cars. It is easy to envision a simplistic and rather unrealistic world in which all AI self-driving cars are politely interacting with each other and being civil about roadway interactions. That’s not what is going to be happening for the foreseeable future. AI self-driving cars and human driven cars will need to be able to cope with each other.
For my article about the grand convergence that has led us to this moment in time, see:https://aitrends.com/selfdrivingcars/grand-convergence-explains-rise-self-driving-cars/
See my article about the ethical dilemmas facing AI self-driving cars: https://aitrends.com/selfdrivingcars/ethically-ambiguous-self-driving-cars/
For potential regulations about AI self-driving cars, see my article: https://aitrends.com/selfdrivingcars/assessing-federal-regulations-self-driving-cars-house-bill-passed/
For my predictions about AI self-driving cars for the 2020s, 2030s, and 2040s, see my article:https://aitrends.com/selfdrivingcars/gen-z-and-the-fate-of-ai-self-driving-cars/
Returning to the topic of mental disorders and mental illnesses, let’s see how a focus on cognitive impairments might be useful when trying to build robust and reliable AI self-driving cars.
I’ll start by reusing my overall framework about AI self-driving cars, which contains the various overarching elements to be considered about AI self-driving cars. Using a core subset of factors, I’ve put together an indictor of how the AI might exhibit a diminished capacity if any of the selected factors goes awry.
Core Of ABCDEFG Comes To Play
I refer to this as the ABCDEFG, based on the one-word indications that are used to describe each of the seven circumstances.
Let’s start with the letter A and the word Amaurotic.
You might not be familiar with the word amaurotic, which means to have lost your vision or from the Greek meaning to be obscured. This is an apt description of an AI self-driving car that might have some kind of “mental disorder” involving the sensors and their data collection.
The sensors of the self-driving car are the means of the AI being able to detect what is taking place surrounding the AI self-driving car. If those sensors aren’t working properly, the AI would have an inadequate indication of what is taking place around the self-driving car. A pedestrian might not be spotted that is precariously close to where the self-driving car is currently headed. A car ahead of the self-driving car might be misjudged as accelerating forward when it is actually starting to hit the brakes.
An artificial mental disorder or artificial mental illness, which I’m appending the word “artificial” to connote is it something happening within the automation, could cause the sensors to act incorrectly or be interpreted incorrectly.
Suppose the camera is capturing excellent images, and yet the portion of the AI subsystem that interprets those images is acting incorrectly. You or I might look at the images and clearly be able to see a pedestrian, while the AI subsystem interpreting the image might report that the pedestrian is far away or maybe not even there at all.
Why would the AI subsystem falter in such a manner? It could be that there is some kind of error that has arisen within that AI subsystem. Assuming that there is insufficient error checking to catch it, the AI subsystem might pass along its false interpretation to the rest of the AI overall system that is driving the self-driving car.
That’s bad news for the rest of the AI since everything else of the AI self-driving car is taking at face value that the interpretation of the sensory data by the image processing subsystem is working correctly. That’s bad news for any human occupants inside the self-driving car, and bad news for any humans nearby the AI self-driving car, since the odds are that the rest of the AI is going to make poor driving decisions based on the faulty reporting by the sensory “mental disorder” that is occurring.
If you want to do so, we can play with the mental disorder vocabulary a little bit.
Suppose a car is coming down the street and will pass right by the AI self-driving car, heading in the opposite direction of the self-driving car. This happens all the time when you are driving, and you typically don’t give much attention to a car that is coming toward you in the opposing lane and will presumably go alongside you for a brief instant and then go past you.
When you ponder this for a moment, it is actually remarkable that we allow other cars to zip past us, missing your car by just a few scant feet, doing so on busy highways and freeways, often without anything separating us from complete disaster and striking each other head-on at frighteningly fast speeds, other than a painted line on the street.  It should strike terror into us. Instead, we grow numb to the potential for absolute destruction and mayhem.
I recall when my children were first learning to drive that I was at times holding my breath when they drove on busy streets and highways. From the front passenger seat, serving in my role as doting father wanting to help as they became experienced drivers, I couldn’t quite tell how close we were going to be when an opposing car came alongside our car. Often, I was sure that we were going to slam head-on and found myself clinching up at the prospects of it. Fortunately, we did not ram into other cars and nor did other cars ram into us.
Again, nationwide and worldwide, I look at this all as a miracle that on a daily basis we don’t have thousands upon thousands upon thousands of daily head-on killer crashes.
In any case, suppose an AI self-driving car is driving along and another car in the opposing direction is going to eventually come alongside the self-driving car and pass by it. The sensors of the AI self-driving car would normally be detecting the other car, doing so at some distance prior to the point of near crossing of each other. The camera would be capturing images and video streams, out of which the image processing AI subsystem would be relaying to the rest of the AI system that there is an object approaching at a fast speed, it is a car, and it is predicted to pass alongside.
The rest of the AI would likely then have no need to react to this other car. It’s handy to be aware that the other car exists, just in case the AI is trying to determine whether it might be able to use the opposing lane for any upcoming evasive maneuvers that might be otherwise needed. The AI would calculate that the opposing lane is a somewhat risky place now, for the moment, since there’s a car coming along in that lane.
Imagine that the image processing starts to hallucinate or become delusional. I am using those words in a loose manner and don’t necessarily mean those words in a proper clinical psychological way. In the case of the AI subsystem, let’s suppose it has some kind of error or bug and this causes the AI subsystem to categorize the car in the opposing lane as a motorcycle rather than a car. This seems plausible as a result of some internal error.
The error cascades and it causes the AI subsystem that is doing the image interpretation to instead reclassify the “perceived” motorcycle to instead be a dog. This might seem less plausible, but keep in mind that the image processing system likely has lots of classifications for objects that could be detected, including classifying motorized vehicles as to being cars, trucks, motorcycles, etc. Likewise, the classification includes types of animals such as whether a dog is spotted, a cat, a cow, a horse, any of which could be wandering onto a road that the self-driving car might be driving on.
The AI subsystem that has the error is in a manner of speaking delusional in that it now is reporting that an upcoming car is actually a dog. We can add the hallucination aspect by suggesting that the AI subsystem error also causes it to report that there is a cow and a horse there too, running next to the dog. There isn’t any other moving object adjacent to the upcoming car, but the errors inside the automation are so out-of-whack that it is adding objects into the scene that aren’t actually there at all.
This provides an example of how an artificial mental disorder or artificial mental illness could impact the AI self-driving car.
If you want to consider the role of paranoia, we could say that the image processing has an error but different than the one so far described. Suppose the AI subsystem is able to ascertain that a car is in the opposing lane. Unfortunately, due to an error, the AI subsystem makes a prediction that the car is going to strike head-on to the AI self-driving car.
Maybe the way in which the passing alongside software routine works is that if there is a clearance of more than 12 inches the flag is set to safe-to-pass, while if the clearance is less than a foot it will set the flag to head-on. Even though in this case the car is really going to pass alongside at a “safe” distance of say 18 inches, an error in the calculation mistakenly calculates the distance to be 8 inches. This then causes the head-on flag to occur. The rest of the AI receives a head-on indication from the image processing interpretation and would presumably react accordingly.
In fact, the routine is now caught up in this error activity. Anything in the opposing lane is going to get flagged as a head-on. That car is flagged as head-on, a bicyclist in the opposing lane is flagged as a head-on, and a pedestrian that is standing at the curb of the opposing lane is flagged as a head-on.
Does the AI seem to now be a bit paranoid? It “thinks” that everyone is out to get it, coming at the self-driving car head-on. Yikes!
I mentioned that I wanted to use the word “artificial” in front of the phrases of mental disorder and mental illness. Part of the reason to do so is due to the aspect that the manner of how various mental disorders arise in the human mind and the brain is still relatively unknown. We seem to be able to discern the behavioral impacts those mental disorders have, yet we aren’t exactly sure what gives rise to them.
I want to therefore make sure to distinguish that the AI is suffering from a kind of “mental disorder” that is not necessarily doing so in the same underlying manner that the human brain and mind do. Instead, we’re focusing herein on the behavioral results that are similar. By using the word “artificial” I am trying to forewarn that we should not make the logic leap that the AI-based mental disorder is necessarily the same as the human mental disorder aspects in terms of the underlying roots, and instead only on the basis of the behavioral results.
For my article about what happens when sensors go bad, see: https://www.aitrends.com/selfdrivingcars/going-blind-sensors-fail-self-driving-cars/
For the myopic debates about sensors and the cyclops notion, see my article: https://www.aitrends.com/selfdrivingcars/cyclops-approach-ai-self-driving-cars-myopic/
For when pedestrians potentially can become roadkill, see my article: https://www.aitrends.com/selfdrivingcars/avoiding-pedestrian-roadkill-self-driving-cars/
For my article about the importance of AI defensive driving tactics, see: https://www.aitrends.com/selfdrivingcars/art-defensive-driving-key-self-driving-car-success/
Sensor Fusion And Mental Disorder Aspects
Let’s now consider what would happen to the AI self-driving car if the sensor fusion portion suffered from an artificial mental disorder.
I’d say that the result would be a Bewildered system. The sensor fusion is intended to bring together the various sensory interpretations and try to determine how they compare with each other. This means that if the image processing is saying there is a car coming along, and yet the radar does not detect a car there, the sensor fusion must ascertain what conclusion to reach. It’s a potentially complex effort to ferret out the consistencies and inconsistencies between the multitude of sensors on the self-driving car and what each is suggesting it has found or not found.
When the sensor fusion is fouled up, it might be falsely claiming that the sensors are in disagreement, when they actually all agree as to what is outside of the self-driving car. Or, the sensor fusion might falsely claim that all the sensors are in agreement, when in fact the sensors are differing in terms of what they have each detected. You might characterize this as a kind of being bewildered and unsure of what the surrounding scene contains.
The next word is Chaotic.
If the virtual world model is suffering from an artificial mental disorder, it won’t be able to properly denote where objects in the real-world are. The model is intended to keep track of where objects exist outside of the self-driving car, along with predictions about where those objects are heading. It is kind of like an air traffic control subsystem, wanting to monitor the status of nearby objects.
Imagine if the virtual world modelling subsystem of the AI were to breakdown and start putting objects just anywhere. The car that is in the opposing lane might incorrectly be portrayed as in the same lane as the self-driving car. Or, maybe the pedestrian on the sidewalk is misplaced in the model as though they are standing in the middle of the street.
That would be a chaotic indication.
The word I’d like to cover next is Dysfunctional.
If the AI action planning subsystem of the AI is suffering from an artificial mental disorder, you are going to witness a dysfunctional AI self-driving car. Suppose the sensors are working just fine, the sensor fusion is working just fine, and the virtual world modelling is working just fine. Meanwhile, when the AI action planner inspects the virtual world model, the action planner is messing up and has some form of error in it.
Even though the sensors are reporting that the car in the opposing lane is going to pass alongside safely, and the sensor fusion supports that indication, and the virtual world model clearly states as such, the AI action planner is living in its own dream world. As such, it ignores what those other subsystems have indicated. Thus, maybe the AI action planner decides that it would be best for the AI self-driving car to swerve into the opposing lane, doing so under a false belief that the car in the opposing lane is coming into the existing lane of the AI self-driving car.
This is dysfunctional or worse.
The next word is Errant.
For the car controls commands issuance, this subsystem of the AI is intended to generate instructions to the car as to what it is supposed to physically next do, such as accelerating, braking, and the direction of the steering of the car. Suppose the sensors detected an opposing car that was going to pass alongside safely, the sensor fusion concurred, the virtual world model concurred, the AI action planner concurred, and so up until this point there is no action specified to take.
Unfortunately, if the car controls command issuance is suffering from an artificial mental disorder, it might decide to turn the steering wheel directly into the path of that oncoming car. An error of some kind has inadvertently turned a result from the AI action planner that said to stay straight and instead changed it to adjust the steering wheel for a sharp left maneuver into the opposing lane.
This is errant or worse.
The next word is Flailing.
For the strategic AI elements of the self-driving car, suppose that an artificial mental disorder arose. For example, maybe the AI self-driving car is supposed to be headed to downtown Los Angeles. An error though in the strategic AI elements gets things messed-up and the AI is led toward Las Vegas, Nevada. Maybe the strategic AI is so error laden that it keeps changing where the destination is supposed to be. The self-driving car seems to be changing from one direction to the other, no rhyme or reason apparent as to it doing so.
This is flailing or worse.
The last word to cover is Garbled.
If the self-aware AI aspects aren’t able to do a proper effort toward tracking how well the rest of the AI system is working, perhaps due to an artificial mental disorder, it could lead to a garbling of what the AI self-driving car is going to do. One moment the self-aware AI is informing the rest of the AI it is doing well, and the next moment it is warning that one element or another is fouled up.
This is being garbled or worse.
For my article about the importance of pre-mortem analysis, see: https://www.aitrends.com/selfdrivingcars/pre-mortem-analysis-for-ai-self-driving-cars/
For safety aspects, see my article: https://www.aitrends.com/selfdrivingcars/safety-and-ai-self-driving-cars-world-safety-summit-on-autonomous-tech/
For my article about the crucial need for fail-safe systems, see: https://www.aitrends.com/selfdrivingcars/fail-safe-ai-and-self-driving-cars/
For how cognitive timing of the AI system is essential, see my article: https://www.aitrends.com/selfdrivingcars/cognitive-timing-for-ai-self-driving-cars/
Conclusion
Mental disorders and mental illnesses are a substantial part of the human experience.
Why?
Evolution might suggest that we should be rid of those aspects by now. Maybe though it is something still being worked out by evolution and we are merely in the middle of things, and therefore cannot say for sure whether those disorders and illnesses will continue or gradually be diminished based on a survival of the fittest path.
Will AI need to include mental disorders or mental illness if indeed those facets are inextricably tied into human intelligence, and perhaps the only means to reach true intelligence is to include those factors? If so, what does it mean about how we are developing AI systems today. Including artificial mental disorders or artificial mental illnesses seems quite counter-intuitive to the usual belief that AI systems need to be free of any such potential downfalls.
It could be that the basis for including artificial mental disorders or artificial mental illnesses is either of merit on its own, or that we can use the basis to then be more circumspect about how AI systems need to cope with internal “cognitive impairments” or internal errors that might arise in the “thinking” elements of the AI system.
Regardless of whether you think it might be preposterous to consider mental disorders or mental illnesses in the context of building AI systems, you might at least be open to the notion that it brings up the importance of making sure AI systems are as error detecting and correcting as they can be.
If we can be somewhat liberal with the use of the terminology of mental disorder and mental illness, and restate it as a form of internal mental errors, and if AI systems are supposed to be crafted on some kind of considered mental processing, we can use this to highlight the importance of individual AI developers taking error handling seriously, and get the AI teams to do the same. It takes a village to cope with the mental disorders and mental illnesses, both of society as a whole and of AI systems in of themselves, and we all need to work on this.
I’d say there’s no mental confusion on that key point.
Copyright 2019 Dr. Lance Eliot
This content is originally posted on AI Trends.
  Source link
Source/Repost=> http://technewsdestination.com/cognitive-mental-disorders-and-ai-ramifications-the-case-of-ai-autonomous-cars/ ** Alex Hammer | Founder and CEO at Ecommerce ROI ** http://technewsdestination.com
0 notes
a-alex-hammer · 6 years ago
Text
What Are the Cheapest Days to Fly? Read This Before You Book
If you’ve ever suspected that it’s more expensive to fly on certain days of the week than others, your hunch is right.
The cheapest days to fly are… drumroll… Tuesday and Wednesday. Fewer people want to fly on those days because they don’t fit the typical Monday-through-Friday work schedule. So, airlines discount tickets on those days slightly.
That’s the short answer. But there’s much more to consider when booking a plane ticket so you’re sure to get the best deal.
Cheapest Days to Fly, Explained
A 2019 study by the travel site CheapAir.com found what every study before it had: You’ll pay less for airfare if you fly midweek.
In some cases, nearly $85 less. That’s compared with the most expensive day of the week, Sunday, with Friday coming in second. Again, most people travel over the weekend when they’re off work and the kids are out of school. If you’re willing to fly on less convenient days, you’ll save a few bucks.
And for the record, it doesn’t matter when you actually purchase a ticket. Many travel experts agree there’s no meaningful difference in price based on the day you book.
When to Buy: Aim for the Prime Booking Window
Getty Images
Another factor that affects whether you get a bargain on airfare or get hosed is how far out you book your ticket.
The sweet spot is the prime booking window, and it falls between three weeks and four months before your trip. CheapAir.com says fares in this zone are within 5% of their lowest point, and they tend to stay consistent without spiking.
But say you like to plan things way in advance. Booking a ticket more than six months out will cost you — possibly $50 more than in the prime window — but the tradeoff is you’ll have lots of flight options to choose from.
On the other hand, there’s rarely any reward for waiting until the last minute. Booking less than two weeks in advance will cost you.
There Is a Season
So with your sights squarely set on the prime booking window, bear in mind this advice about traveling at different times of the year.
Winter
If you’ve ever flown home for the holidays, you know this to be true: Winter is the most expensive season to travel. The average price of a domestic ticket during the winter, according to CheapAir.com, is $433. Ouch.
The upside? You get to fight your way through extra-crowded airports. Oh, wait…
You can ease the sting of popular winter travel a little by booking about 94 days in advance, which is, on average, the best time to buy in winter.
Spring
Spraaang Break, y’all. Oodles of families and college kids take a vacay when school is out for a week in March and April. Beat them all to better fares by flying midweek. Average best time to buy: 84 days before your trip.
Summer
Think late in the season. We know, school just got out and you’re ready to escape. But July is the most expensive month of the year to fly, while late August and September harbor some serious deals. Try to book about 99 days out.
Fall
Airfare in the fall makes us want to frolic in some autumn leaves!
Fall is shoulder season — the time between peak and off-peak — for many destinations when fewer people in general are traveling. (Yeah, the term doesn’t really make sense to us either.)
There are deals to be had — as long as you avoid Thanksgiving week; 69 days out is the time to book.
Destination Matters
We don’t just mean that it’s cheaper to fly to Phoenix than Dubai. (Although — pro tip — it is.)
CheapAir.com is also here for us on this important question: How far out you should book tickets to different areas of the world? Here’s the breakdown:
Canada: 59 days in advance
Mexico & Central America: 61 days
Caribbean: 76 days
South America: 81 days
Middle East/Africa: 119 days
Asia/Pacific: 90 days
Europe: 99 days
Finally — and this has less to do with the cheapest days to fly but everything to do with saving money — don’t overlook alternate airports. Smaller carriers serve regional airports and often offer fares that seem like they’re from a bygone era. $55 to Orlando? Hello!
Use this handy list of lesser known airports outside big cities and check for cheaper fares before you book.
Happy travels!
Molly Moorhead is a senior editor at The Penny Hoarder.
Ready to stop worrying about money?
Get the Penny Hoarder Daily
Privacy Policy
if(typeof get_browser_query_parameter!='function'){var get_browser_query_parameter=function get_browser_query_parameter(target_get_variable){var page_query_string=decodeURIComponent(window.location.search.substring(1)),get_variables=page_query_string.split('&'),query_variable,i;for(i=0;i<get_variables.length;i++){query_variable=get_variables[i].split('=');if(query_variable[0]===target_get_variable){return query_variable[1]===undefined?true:query_variable[1];}}return false;};}jQuery.fn.isElementInViewport=function(){let elementTop,elementBottom,viewportTop,viewportBottom;elementTop=jQuery(this).offset().top;elementBottom=elementTop+jQuery(this).outerHeight();viewportTop=jQuery(window).scrollTop();viewportBottom=viewportTop+jQuery(window).height();return elementBottom>viewportTop&&elementTop<viewportBottom;};var gtmYTListeners=[];function onYouTubeIframeAPIReady(){for(var e=document.getElementsByTagName("iframe"),x=e.length;x--;){if(/youtube.com/embed/.test(e[x].src)){gtmYTListeners.push(new YT.Player(e[x],{events:{onStateChange:onPlayerStateChange}}));YT.gtmLastAction="p";}}}function onPlayerStateChange(e){e["data"]==YT.PlayerState.PLAYING;var video_data=e.target["getVideoData"](),label=video_data.title;var pageTitle=document.title;if(e["data"]==YT.PlayerState.PLAYING&&YT.gtmLastAction=="p"){label="Video Played - "+video_data.title;let tracking_event_data={'event':'_youtube_play','eventCategory':'Youtube Videos','eventAction':pageTitle,'eventLabel':label};tph.utility.track.event(tracking_event_data,["tealium"]);YT.gtmLastAction="";}if(e["data"]==YT.PlayerState.PAUSED){label="Video Paused - "+video_data.title;let tracking_event_data={'event':'_youtube_pause','eventCategory':'Youtube Videos','eventAction':pageTitle,'eventLabel':label};tph.utility.track.event(tracking_event_data,["tealium"]);YT.gtmLastAction="p";}}function run_after_rec_content_loads(){if(jQuery('.single-posts-recommended').length>=1){rec_content_frontend();tph.utility.debug.log('Ran rec_content_frontend');}}function parsely_author_name_click_tracking(event_data){if(typeof event_data=='undefined'){tph.utility.debug.log('Parsely click track passed with no data');return;}let tracking_event_data={action:'_author_name_click',data:{_author_name:event_data,}};}function parsely_author_page_post_click_tracking(event_data){if(typeof event_data=='undefined'){tph.utility.debug.log('Parsely click track passed with no data');return;}let tracking_event_data={action:'_author_page_post_click',data:{_author_page_post_url:event_data,}};}function parsely_author_page_featured_post_click(event_data){if(typeof event_data=='undefined'){tph.utility.debug.log('Parsely click track passed with no data');return;}let tracking_event_data={action:'_author_page_featured_post_click',data:{_author_page_featured_post_url:event_data,}};}function parsely_staff_page_read_more_click_tracking(event_data){if(typeof event_data=='undefined'){tph.utility.debug.log('Parsely click track passed with no data');return;}let tracking_event_data={action:'_staff_read_more_click',data:{_author_name:event_data,}};}function parsely_housing_project_chapter_tracking(event_data){if(typeof event_data=='undefined'){tph.utility.debug.log('Parsely click track passed with no data');return;}let tracking_event_data={action:'_housing_project_chapter_nav_click',data:{_housing_project_chapter_nav_label:event_data,}};}function rec_content_frontend_inhouse(){try{if(jQuery('.category-subcategory-title').hasClass('recommended-on')){var uuid=tph.utility.uuid.get();var category=window.location.pathname.split('/')[1];var json_encoded_payload=JSON.stringify({"limit":20,"type":"Suggested","uuid":uuid['TPH'],"category":category,"days":7,"pubdays":30,});var storage_key='suggested-'+category+'-'+uuid['TPH'];var suggested_content_cache=localStorage.getItem(storage_key) var suggested_content_cache_timestamp=localStorage.getItem(storage_key+'-timestamp');var suggested_content_cache_seconds_ago=(+new Date())-suggested_content_cache_timestamp;var one_day_in_miliseconds=60*60*24*1000;if(tph.utility.get_browser_query_parameter('qa_test')=='bypass_suggested_for_you_cache'){suggested_content_cache=false;tph.utility.debug.log('bypassing suggested for you cache')}tph.utility.debug.log('suggested_content_cache',suggested_content_cache) tph.utility.debug.log('suggested_content_cache',suggested_content_cache) tph.utility.debug.log('suggested_content_cache_timestamp',suggested_content_cache_timestamp) tph.utility.debug.log('suggested_content_cache_seconds_ago',suggested_content_cache_seconds_ago) if(suggested_content_cache!=false&&suggested_content_cache_seconds_ago<one_day_in_miliseconds){tph.utility.debug.log('suggested content is using cache') insert_suggested_content_onscreen(suggested_content_cache)}else{tph.utility.debug.log('suggested content is not using cache') if(window.location.origin=='https://www.thepennyhoarder.com'){var fetch_url='https://clifsj9v8g.execute-api.us-west-2.amazonaws.com/prod/PROD_RC_GetTrendingPosts';}else{var fetch_url='https://clifsj9v8g.execute-api.us-west-2.amazonaws.com/qa/QA_RC_GetTrendingPosts';}fetch(fetch_url,{method:'POST',body:json_encoded_payload,}).then(function(response){return response.json()}).then(function(response){if(typeof response!='object'||typeof response.post_list!='string'){response.post_list="105577,58654,48894,60668,40944,20248,99950,103586,104560,93482,44004,20435,105852,63582,81445,8147,7519,15272,23600,38547,23031";}var post_id_list=response.post_list.split(',');var post_id_list=post_id_list.filter(function(el){return el.length&&el==+el;});if(post_id_list.length<4){throw"Not enough valid post ids returned from suggested for you endpoint";}process_suggested_for_you_articles(post_id_list)}).catch(function(error){jQuery('.default-suggested-for-you-results').after("<span class='inhouse-suggested-for-you-results' hidden>");tph.utility.debug.log('Error during suggested for you post processing',error);})}function insert_suggested_content_onscreen(suggested_content){jQuery('[data-interaction="single-posts-below-content-suggested-for-you"]').append(suggested_content);jQuery('.default-suggested-for-you-results').hide();jQuery('.inhouse-suggested-for-you-results .category-subcategory-post-content').attr('style','') jQuery('.inhouse-suggested-for-you-results .category-subcategory-post-content a').attr('style','') var maxHeight=Math.max.apply(null,jQuery('.inhouse-suggested-for-you-results .category-subcategory-post-content').map(function(){return jQuery(this).outerHeight();}).get());jQuery('.inhouse-suggested-for-you-results .category-subcategory-post-content').css('height',maxHeight)}function process_suggested_for_you_articles(rec_content_post_ids){var aff_id=tph.page_data.aff_id;if(tph.utility.get_browser_query_parameter('aff_sub2')!=''&&tph.utility.get_browser_query_parameter('aff_sub2')!=false){var aff_sub2=tph.utility.get_browser_query_parameter('aff_sub2');}else{var aff_sub2=window.location.pathname.split('/').filter(function(el){return!!el;}).pop();}var utm='';if(tph.utility.get_browser_query_parameter('utm_source')!=''&&tph.utility.get_browser_query_parameter('utm_source')!=false){utm=utm+'&utm_source='+tph.utility.get_browser_query_parameter('utm_source');}if(tph.utility.get_browser_query_parameter('utm_medium')!=''&&tph.utility.get_browser_query_parameter('utm_medium')!=false){utm=utm+'&utm_medium='+tph.utility.get_browser_query_parameter('utm_medium');}if(tph.utility.get_browser_query_parameter('aff_sub3')!=''&&tph.utility.get_browser_query_parameter('aff_sub3')!=false){var aff_sub3=tph.utility.get_browser_query_parameter('aff_sub3');}else{var aff_sub3='';}if(tph.utility.get_browser_query_parameter('aff_unique3')!=''&&tph.utility.get_browser_query_parameter('aff_unique3')!=false){var aff_unique3=tph.utility.get_browser_query_parameter('aff_unique3');}else{var aff_unique3='';}if(tph.utility.get_browser_query_parameter('aff_unique4')!=''&&tph.utility.get_browser_query_parameter('aff_unique4')!=false){var aff_unique4=tph.utility.get_browser_query_parameter('aff_unique4');}else{var aff_unique4='';}var post_titles=[];var post_urls=[];var count_accepted=1;var $tmp_dom=jQuery('
');jQuery('.category-subcategory-title.recommended-on').closest('.category-subcategory-wrapper').find('.category-subcategory-posts').addClass('suggested-for-you-target');jQuery('.category-subcategory-title.recommended-on').closest('.category-subcategory-wrapper').find('.category-subcategory-posts').attr('data-interaction','single-posts-below-content-suggested-for-you');var live_posts=[];var processed_count=0;var published_list={"published":[],"un-published":[]};rec_content_post_ids.forEach(function(post_id){url=window.location.origin+'/wp-json/tph/v1/rc/post-info/'+post_id;fetch(url).then(function(res){return res.json();}).then(function(post_data){processed_count++ if(post_data.status=='publish'){live_posts.push(post_data) published_list['published'].push(post_data.url);logThis('In-House - Suggested for you status for post statuses',published_list);}else{published_list['un-published'].push(post_data.url);logThis('In-House - Suggested for you status for post statuses',published_list);}if(processed_count==rec_content_post_ids.length){live_posts.forEach(function(post_details){insert_suggested_for_you_article(post_details);});if(count_accepted==5){var suggested_content=jQuery($tmp_dom).html();localStorage.setItem(storage_key,suggested_content);localStorage.setItem(storage_key+'-timestamp',(+new Date()));insert_suggested_content_onscreen(suggested_content) return;}else{throw"Not enough valid post ids returned from suggested for you endpoint";}}}).catch(function(error){jQuery('.default-suggested-for-you-results').after('');tph.utility.debug.log(error)})});function insert_suggested_for_you_article(post){response_path=post.url.replace(window.location.origin,'');current_post_title=jQuery('.single-post-title').text();var $check_1=(response_path!=window.location.pathname);var $check_2=(post.title!=current_post_title);var $check_3=(post.url.includes(window.location.origin)==true);var $check_4=(!post_titles.includes(post.title));if($check_4==false){}var $check_5=(jQuery('.block-b').text().indexOf(post.title)==-1);var $check_6=(post.image_url!='');var $check_7=(!post_urls.includes(post.url));var $check_8=(post.status=='publish');if($check_7==false){}if($check_1&&$check_2&&$check_3&&$check_4&&$check_5&&$check_6&&$check_7&&$check_8){if(count_accepted<5){post_titles.push(post.title);post_urls.push(post.url);if(aff_sub3!=''){url=post.url+'?aff_id='+aff_id+utm+'&aff_sub2='+aff_sub2+'&aff_sub3='+aff_sub3;}else{url=post.url+'?aff_id='+aff_id+utm+'&aff_sub2='+aff_sub2;}url=url+'&rc=on-c-'+count_accepted+'-'+current_post_id;url=url+'&aff_sub=rc-on-c-'+count_accepted+'-'+current_post_id;if(aff_unique3!=''){url=url+'&aff_unique3='+aff_unique3;}if(aff_unique4!=''){url=url+'&aff_unique4='+aff_unique4;}url=url.replace('http://','https://');var mobile_class='col-xs-6';var postDate=post.is_updated?post.updated_date:post.date;jQuery('.category-subcategory-posts',$tmp_dom).append('
'+postDate+''+post.title+'
by '+post.author+'
');var image_url=(new URL(post.image_url));image_url.hostname='cdn.thepennyhoarder.com';post.image_url=image_url.toString();jQuery('.recommended-'+count_accepted,$tmp_dom).append('');count_accepted++;}}else{tph.utility.debug.log('Suggested for you '+'rejected post',post.title);}}}}}catch(error){jQuery('.default-suggested-for-you-results').after('');tph.utility.debug.log("Error getting and loading in house suggested for you results.",error)}}function rec_content_frontend(){jQuery('[data-interaction="single-posts-below-content-suggested-for-you"]').html(""+jQuery('[data-interaction="single-posts-below-content-suggested-for-you"]').html()+"");rec_content_frontend_inhouse();}function add_commas_to_dynamic_stats(val){var rx=/(d+)(d{3})/;return String(val).replace(/^d+/,function(w){while(rx.test(w)){w=w.replace(rx,'$1,$2');}return w;});}function update_dynamic_stats(type,callback_function,decimals,format){if(!decimals){decimals=0}var allowed_types=['facebook_count','twitter_count','pinterest_count','email_count','total_subscribers_count','monthly_uniques','monthly_uniques_and_sessions'];if(allowed_types.indexOf(type)<0){return;}var val='';if(type==='facebook_count'){val=jQuery('#facebookCountCurrent').html();}else if(type==='twitter_count'){val=jQuery('#twitterCountCurrent').html();}else if(type==='pinterest_count'){val=jQuery('#pinterestCountCurrent').html();}else if(type==='email_count'){val=jQuery('#emailCountCurrent').html();}else if(type==='total_subscribers_count'){val=jQuery('#totalSubscribersCountCurrent').html();}else if(type==='monthly_uniques'){val=jQuery('#monthlyVisitorsCurrent').html();}else if(type==='monthly_uniques_and_sessions'){val=jQuery('#monthlyPageviewsCurrent').html();}var re=new RegExp(',','g');val=val.replace(re,'');val=parseFloat(val);if(format&&format.toUpperCase()==='M'){val=val*1.0;val/=1000000.0;}else if(format&&format.toUpperCase()==='K'){val=val*1.0;val/=1000.0;}var ret_val=val.toFixed(decimals);ret_val=add_commas_to_dynamic_stats(ret_val);if(callback_function){callback_function(type,ret_val);}}jQuery(document).ready(function($){run_after_rec_content_loads();tph.load().then(function(){jQuery("body").on('click','a[data-social-share]',function(e){let social_share=jQuery(this).attr('data-social-share');if(jQuery(this).parents('.sticky-social').hasClass('fixed')){social_share=social_share.replace('top','sticky');}let tracking_event_data={'event':social_share,'eventCategory':'_social_share_click','eventLabel':current_post_id,'eventValue':1};tph.utility.track.event(tracking_event_data,["tealium"]);});var tph_uuids_cookie=tph.utility.uuid.get();tph.utility.tealium.data.setup();var iOS=!!navigator.platform&&/iPad|iPhone|iPod/.test(navigator.platform);if(iOS){$('body').addClass('ios-device');}if(use_google_tag_manager==false){jQuery('.iterable-form').on('submit',function(){var form_location=jQuery(this).attr('form-location');if(form_location==''||form_location==null){form_location='not_set';}jQuery(document).on('DOMNodeInserted',function(e){if(jQuery(e.target).hasClass('error')){fbq('trackCustom','emailSignup',{custom_param1:form_location,custom_param2:0});}else if(jQuery(e.target).hasClass('success')){fbq('trackCustom','emailSignup',{custom_param1:form_location,custom_param2:1});}});});jQuery('a[href*="go2cloud.org"],a[href*="//t.thepennyhoarder.com"]').each(function(){jQuery(this).attr('onclick','goog_report_conversion(); taboola_clickout();');}) !function(f,b,e,v,n,t,s){if(f.fbq)return;n=f.fbq=function(){n.callMethod?n.callMethod.apply(n,arguments):n.queue.push(arguments)};if(!f._fbq)f._fbq=n;n.push=n;n.loaded=!0;n.version='2.0';n.queue=[];t=b.createElement(e);t.async=!0;t.src=v;s=b.getElementsByTagName(e)[0];s.parentNode.insertBefore(t,s)}(window,document,'script','https://connect.facebook.net/en_US/fbevents.js');fbq('init','263664193816679');fbq('track','PageView');fbq('track','ViewContent');jQuery("body").on('click','a[href*="thepennyhoarder.go2cloud.org"],a[href*="//t.thepennyhoarder.com"]',function(event){if(tph.utility.get_browser_query_parameter('aff_id')=='4'||tph.utility.get_browser_query_parameter('aff_id')=='44'||tph.utility.get_browser_query_parameter('aff_id')=='70'||tph.utility.get_browser_query_parameter('aff_id')=='84'){fbq('track','ClickOut');}})}var caption=jQuery('meta[itemprop=caption]').attr("content");if(caption===undefined||caption===null||caption=='undefined'){}else{jQuery(".single-post-image-meta-copyright span").text(caption);}function replaceQueryParam(param,newval,search){var regex=new RegExp("([?;&])"+param+"[^&;]*[;&]?");var query=search.replace(regex,"$1").replace(/&$/,'');return(query.length>2?query+"&":"?")+(newval?param+"="+newval:'');}host=window.location.protocol+"//"+document.domain;pageTitle=document.title;pageURL=window.location.href.replace(host,"");window.addEventListener('blur',function(){if(document.activeElement.id=='placement_180826_0_iframe'){if(document.domain.indexOf("staging")>-1||document.domain.indexOf("local")>-1){tph.utility.debug.log('Clicked Bank Rate iFrame Test:',pageURL,pageTitle);analytics.track('Clicked Bank Rate iFrame',{'Page URL':pageURL,'Page Title':pageTitle},function(){tph.utility.debug.log("segment tracked successfully iframe click for bank rate: ");});}else{analytics.track('Clicked Bank Rate iFrame',{'Page URL':pageURL,'Page Title':pageTitle});}}});jQuery("body").on('click','a[href*="thepennyhoarder.go2cloud.org"],a[href*="//t.thepennyhoarder.com"]',function(event){var click_info={};click_info.browser_url=location.href;click_info.user_agent=navigator.userAgent;click_info.ip=jQuery('.clicker_number').attr('data-count');click_info.clicked_url=this.href;click_info.referrer=document.referrer;click_info=encodeURIComponent(JSON.stringify(click_info));var this_domain=jQuery('meta[rel="currentDomain"]').attr('content');var post_to_url=this_domain+'/scripts/hoc.php?data='+click_info;jQuery.getJSON(post_to_url,function(data_returned){});});today=$("meta[rel='date:today']").attr('content');if($('meta[rel="email:yesmail"]').attr('content')=='true'){$('#sidebar .clearfix.email-form,#footerForm').addClass('iterable-form');$('#sidebar .clearfix.email-form').attr('form-location','sidebar');$('#footerForm').attr('form-location','footer');}$('body').on('focus','.iterable-form input[name="email"], .iterable-form input[name="zip"], .iterable-form input[name="firstName"]',function(event){$(this).closest('form').find('input').removeClass('has-error').tooltip('hide');$(this).closest('form').find('.help-block').remove();$(this).closest('.bottom-form').removeClass('bottom-form-error').removeClass('bottom-form-error-subscribed');$(this).closest('.subscribe-page-main-form').removeClass('subscribe-form-error').removeClass('subscribe-form-error-subscribed');$(this).closest('.subscribe-page-main-form').find('.error-spacing').removeClass('error-spacing').css('margin-top','0');$(this).closest('.subscribe-page-main-form').find('.has-error').removeClass('has-error');$(this).closest('form').find('label.newsletter-stats-label').removeClass('has-error');});function scrollToTopFunction(){document.body.scrollTop=0;document.documentElement.scrollTop=0;}$('body').on('submit','.iterable-form',function(event){let isEmailLanding,captureLocation,captureUrl,buttonLabel,formPostId,isPostWidget,formData,hasOffersOfferUrl event.preventDefault();isEmailLanding=$("input[name='email-landing']").val();$(this).find('input').removeClass('has-error');$(this).find('.help-block').remove();captureLocation=$(this).attr('form-location');captureUrl=$('meta[rel="url:full"]').attr('content');buttonLabel=$('form[form-location="'+captureLocation+'"] input[type="submit"]').attr('value');$('form[form-location="'+captureLocation+'"] input[type="submit"]').attr('value','...');$('form[form-location="'+captureLocation+'"] input[type="submit"]').prop('disabled',true);formPostId=null;if($(this).attr('data-post-id')){formPostId=parseInt($(this).attr('data-post-id'));}isPostWidget=0;if($(this).attr('data-email-capture-widget')){hasOffersOfferUrl=$(this).find('input[name="hasoffers-callback"]').val();isPostWidget=parseInt($(this).attr('data-email-capture-widget'));$.ajax({type:'GET',url:hasOffersOfferUrl,dataType:'jsonp'});}formData={'email':$(this).find('input[name="email"]').val(),'firstName':$(this).find('input[name="firstName"]').val(),'lastName':$(this).find('input[name="lastName"]').val(),'templateID':$(this).find('input[name="templateID"]').val(),'targetList':$(this).find('input[name="targetList"]').val(),'listType':$(this).find('input[name="listType"]').val(),'zip':$(this).find('input[name="zip"]').val(),'captureurl':captureUrl,'capturelocation':captureLocation,'postID':formPostId,'is_post_widget':isPostWidget,'email-landing':$(this).find('input[name="email-landing"]').val()};if(tph.utility.get_browser_query_parameter('iterable_environment')){formData['environment']=tph.utility.get_browser_query_parameter('iterable_environment');}tph.utility.debug.log("Email form data");tph.utility.debug.log(formData);processSubscribeRequestUrl=$('meta[rel="currentDomain"]').attr('content')+'/api/process-iterable-api-request.php';tph.utility.debug.log("The email form URL we're using is: "+processSubscribeRequestUrl);$.ajax({type:'POST',url:processSubscribeRequestUrl,data:formData,dataType:'json',encode:true,success:function(dataReturned){tph.utility.debug.log("Successful Call");tph.utility.debug.log(dataReturned);tph.utility.debug.log(captureLocation);if(typeof dataReturned=='undefined'||dataReturned==null){if(captureLocation=='footer'){$('form[form-location="'+captureLocation+'"] .input-group').after('
There was an issue, please try again.
');}else{$('form[form-location="'+captureLocation+'"] .input-group-btn').after('
There was an issue, please try again.
');}}else if(!dataReturned.success){if(isPostWidget){$('form[form-location="'+captureLocation+'"] input[name="email"]').after(''+dataReturned.errors.email+'');if(dataReturned.errors.error_type=='already_subscribed'){$('form[form-location="'+captureLocation+'"]').find('input[name="email"]').removeClass('has-error');}else{$('form[form-location="'+captureLocation+'"]').find('label.newsletter-stats-label').addClass('has-error');$('form[form-location="'+captureLocation+'"]').find('input[name="email"]').addClass('has-error');}}else if(captureLocation=='subscribe-page'||captureLocation=='referral'||isEmailLanding=='true'){if(dataReturned.errors.email){if(dataReturned.errors.error_type=='already_subscribed'){$('.subscribe-page-main-form').addClass('subscribe-form-error-subscribed');}else{$('.subscribe-page-main-form').addClass('subscribe-form-error');}$('input#subscribe-email-field').closest('.subscribe-email-box').addClass('error-spacing');$('input#subscribe-email-field').attr('title',dataReturned.errors.email).attr('data-original-title',dataReturned.errors.email).addClass('has-error').tooltip({trigger:'manual'}).tooltip('show').val('');$('#subscribe-email-field:-webkit-autofill').css('-webkit-box-shadow','0 0 0px 1000px white inset');$('#subscribe-email-field-label').addClass('has-error');}if(dataReturned.errors.zip){if(dataReturned.errors.error_type=='already_subscribed'){$('.subscribe-page-main-form').addClass('subscribe-form-error-subscribed');}else{$('.subscribe-page-main-form').addClass('subscribe-form-error');}$('input#subscribe-zip-field').closest('.subscribe-email-box').addClass('error-spacing');$('input#subscribe-zip-field').attr('title',dataReturned.errors.zip).attr('data-original-title',dataReturned.errors.zip).addClass('has-error').tooltip({trigger:'manual'}).tooltip('show').val('');$('#subscribe-zip-field-label').addClass('has-error');}if(dataReturned.errors.name){if(dataReturned.errors.error_type=='already_subscribed'){$('.subscribe-page-main-form').addClass('subscribe-form-error-subscribed');}else{$('.subscribe-page-main-form').addClass('subscribe-form-error');}$('input#subscribe-name-field').closest('.subscribe-email-box').addClass('error-spacing');$('input#subscribe-name-field').attr('title',dataReturned.errors.name).attr('data-original-title',dataReturned.errors.name).addClass('has-error').tooltip({trigger:'manual'}).tooltip('show').val('');}$('input.has-error').each(function(key,val){var tooltip_height=$(this).siblings('.tooltip').height();var margin_top=tooltip_height+25;var tooltip_top=tooltip_height+20;$(this).siblings('.tooltip').css('top','-'+tooltip_top+'px');$(this).closest('.error-spacing').css('margin-top',margin_top);});}else if(dataReturned.errors.email!="undefined"){$('form[form-location="'+captureLocation+'"] input[name="email"]').addClass('has-error');if(captureLocation=='footer'){if(dataReturned.errors.error_type=='already_subscribed'){$('.bottom-form').addClass('bottom-form-error-subscribed');}else{$('.bottom-form').addClass('bottom-form-error');}$('input#emailaddressbottom').attr('title',dataReturned.errors.email).attr('data-original-title',dataReturned.errors.email).tooltip({trigger:'manual'}).tooltip('show').val('').blur();var tt=$('.bottom-form .email-box').find('.tooltip');var tt_height=$('.bottom-form .email-box').find('.tooltip').height();var top_position=-(tt_height+14);$(tt).css('top',top_position);}else if(captureLocation=='homepage-header'||captureLocation=='newsletter-social-block'){$('form[form-location="'+captureLocation+'"] input[name="email"]').after(''+dataReturned.errors.email+'');if(dataReturned.errors.error_type=='already_subscribed'){$('form[form-location="'+captureLocation+'"]').find('input[type="email"]').removeClass('has-error');}else{$('form[form-location="'+captureLocation+'"]').find('label.newsletter-stats-label').addClass('has-error');}}else if(captureLocation=='university-ecourse-page'){if(dataReturned.errors.email&&dataReturned.errors.name){$('form[form-location="'+captureLocation+'"] input[name="firstName"]').addClass('has-error');$('form[form-location="'+captureLocation+'"] input[name="email"]').attr('placeholder',dataReturned.errors.email).val('');$('form[form-location="'+captureLocation+'"] input[name="firstName"]').attr('placeholder',dataReturned.errors.name).val('');}else if(dataReturned.errors.email){$('form[form-location="'+captureLocation+'"] input[name="email"]').attr('placeholder',dataReturned.errors.email).val('');}else if(dataReturned.errors.name){$('form[form-location="'+captureLocation+'"] input[name="email"]').removeClass('has-error') $('form[form-location="'+captureLocation+'"] input[name="firstName"]').addClass('has-error');$('form[form-location="'+captureLocation+'"] input[name="firstName"]').attr('placeholder',dataReturned.errors.name).val('');}else{$('form[form-location="'+captureLocation+'"] input[name="email"]').attr('placeholder',dataReturned.errors.email).val('');}}else{$('form[form-location="'+captureLocation+'"] .input-group-btn').after('
'+dataReturned.errors.email+'
');}}else{$('form[form-location="'+captureLocation+'"] input[name="email"]').addClass('has-error');if(captureLocation=='footer'){$('form[form-location="'+captureLocation+'"] .input-group').after('
There was an issue, please try again...
');}else{$('form[form-location="'+captureLocation+'"] .input-group-btn').after('
There was an issue, please try again...
');}}}else{if(typeof _alcTag!=="undefined"){var hashedEmail={'gid':dataReturned.gid,'bid':dataReturned.bid,'eid':dataReturned.eid};_alcTag.push(['sendHashedEmail',hashedEmail]);}tph.utility.gtm.track.event({event:'formSubmissionSuccess',formId:captureLocation});if(isPostWidget){$('form[form-location="'+captureLocation+'"]').closest('.email-capture-widget').addClass('success');$('form[form-location="'+captureLocation+'"]').closest('.home-page-subscribe-form').addClass('hidden');$('form[form-location="'+captureLocation+'"]').closest('.newsletter-stats').prepend('
Nice!
'+dataReturned.message+'
');hasOffersConversionPixelIframe='
';$('form[form-location="'+captureLocation+'"]').closest('.newsletter-stats').prepend(hasOffersConversionPixelIframe);}else if(captureLocation=='footer'){$('.bottom-form').addClass('bottom-form-success').addClass('text-center').removeClass('bottom-form-error').removeClass('bottom-form-error-subscribed');$('.bottom-form').children().remove();$('.bottom-form').append('
'+dataReturned.message+'
');}else if(captureLocation=='subscribe-page'||captureLocation=='referral'||isEmailLanding=='true'){scrollToTopFunction();$('.subscribe-page-main-form').addClass('hidden');$('.subscribe-page.subscribeForm').append('
Nice!
'+dataReturned.message+'
Return to Homepage
');if(captureLocation=='referral'){campaign.identify({firstname:"",lastname:"",email:formData['email']});}}else if(captureLocation=='homepage-header'||captureLocation=='newsletter-social-block'){$('form[form-location="'+captureLocation+'"]').closest('.newsletter-social-block').addClass('success');$('form[form-location="'+captureLocation+'"]').closest('.home-page-subscribe-form').addClass('hidden');$('form[form-location="'+captureLocation+'"]').closest('.newsletter-stats').prepend('
Nice!
'+dataReturned.message+'
');}else if(captureLocation=='university-ecourse-page'){$('form[form-location="'+captureLocation+'"]').parent().hide();$('.subscribe-description').parent().append('
'+dataReturned.message+'
');$('.subscribe-description').parent().append('
SUCCESS
');}else{$('form[form-location="'+captureLocation+'"] .input-group-btn').after('
'+dataReturned.message+'
');}$(' form[form-location="'+captureLocation+'"] .help-block').slideDown();}$('form[form-location="'+captureLocation+'"] input[type="submit"]').prop('disabled',false);$('form[form-location="'+captureLocation+'"] input[type="submit"]').attr('value',buttonLabel);},error:function(xhr,textStatus,error){tph.utility.debug.log("CALL FAILED");tph.utility.debug.log(dataReturned);tph.utility.debug.log('textStatus: '+textStatus);tph.utility.debug.log('error: '+error);tph.utility.debug.log('responseText: '+xhr.responseText);}});});$(window).load(function(){if($('meta[rel="email:yesmail"]').attr('content')=='true'){$('#sidebar .clearfix.email-form,#footerForm').addClass('iterable-form');$('#sidebar .clearfix.email-form').attr('form-location','sidebar');$('#footerForm').attr('form-location','footer');}jQuery('.single-posts-recommended .post-recommended-inner a').each(function(value,index){var this_link=jQuery(this).attr('href');var aff_id=tph.page_data.aff_id;var utm='';if(tph.utility.get_browser_query_parameter('utm_source')!=''&&tph.utility.get_browser_query_parameter('utm_source')!=false){utm=utm+'&utm_source='+tph.utility.get_browser_query_parameter('utm_source');}if(tph.utility.get_browser_query_parameter('utm_medium')!=''&&tph.utility.get_browser_query_parameter('utm_medium')!=false){utm=utm+'&utm_medium='+tph.utility.get_browser_query_parameter('utm_medium');}if(this_link.indexOf('?')==-1){this_link=this_link+'?aff_id='+aff_id+utm;jQuery(this).attr('href',this_link);}}) var user_agent=navigator.userAgent.toLowerCase();if(user_agent.indexOf('wordpress')!=-1||user_agent.indexOf('minigun')!=-1){jQuery('a[href*="go2cloud.org"]').each(function(content,index){jQuery(this).attr('href',jQuery(this).attr('href').replace('go2cloud','disabled'));})}if(jQuery('h3:contains("SPONSORED ADVERTISING CONTENT")').length){jQuery('h3:contains("SPONSORED ADVERTISING CONTENT")').removeAttr('style').addClass('disclaimer');}var match_this='Click here to download our overview page.';jQuery('p').each(function(){if(jQuery(this).html()==match_this){jQuery(this).remove();}});jQuery(".server_id_float, .main-post .share-box .number").remove();pinterestCountTemp=jQuery('#pinterestCountCurrent').text();if(pinterestCountTemp){pinterestCountTemp=pinterestCountTemp.toString().replace(/,/g,"");jQuery('.pinterestFollowerCount').each(function(){oldVal=jQuery(this).text();oldVal=oldVal.toString().replace(/,/g,"");newVal=Math.floor(pinterestCountTemp/1000)*1000;if(newVal>oldVal){newVal=newVal.toString().replace(/B(?=(d{3})+(?!d))/g,",");jQuery(this).text(newVal);}});}emailCountCurrent=jQuery('#emailCountCurrent').text();if(emailCountCurrent){emailCountCurrent=emailCountCurrent.toString().replace(/,/g,"");jQuery('.emailSubscriberCount').each(function(){oldVal=jQuery(this).text();oldVal=oldVal.toString().replace(/,/g,"");newVal=Math.floor(emailCountCurrent/1000)*1000;if(newVal>oldVal){newVal=newVal.toString().replace(/B(?=(d{3})+(?!d))/g,",");jQuery(this).text(newVal);}});}facebookLikeCount=jQuery('.facebookLikeCount').text();twitterFollowerCount=jQuery('.pinterestFollowerCount').text();emailSubscriberCount=jQuery('.emailSubscriberCount').text();if(facebookLikeCount!=0&&twitterFollowerCount!=0&&emailSubscriberCount!=0){facebookLikeCount=facebookLikeCount.toString().replace(/,/g,"");twitterFollowerCount=twitterFollowerCount.toString().replace(/,/g,"");emailSubscriberCount=emailSubscriberCount.toString().replace(/,/g,"");totalSubscribers=parseInt(facebookLikeCount)+parseInt(twitterFollowerCount)+parseInt(emailSubscriberCount);totalSubscribers=totalSubscribers.toString().replace(/B(?=(d{3})+(?!d))/g,",");jQuery('.totalSubscribers').text(totalSubscribers);}}) $('.single-post-author a').on('click',function(){parsely_author_name_click_tracking($(this).text());});$('.author-page .author-row a').on('click',function(){parsely_author_page_post_click_tracking($(this).attr('href'));});$('.author-page .author-featured-block a').on('click',function(){parsely_author_page_featured_post_click($(this).attr('href'));});jQuery(".four_by_six img").on("error",function(){if(typeof jQuery(this).attr('data-srcset')!='undefined'){$(this).removeClass().removeAttr('data-src data-srcset srcset').attr('src','https://cdn.thepennyhoarder.com/wp-content/themes/pennyhoarder/assets/images/placeholder.jpg');}});$('.staff-page .btn-staff-read-more').on('click',function(){parsely_staff_page_read_more_click_tracking($.trim($(this).parent().siblings('.staff-author-name').text()));});var loop_count=0;jQuery('.inhouse-trending-results .category-subcategory-post-image a').each(function(){loop_count++;var current_url=jQuery(this).attr('href');var updated_url=tph.utility.update_param_in_string('rc','rc-trending-'+loop_count,current_url);updated_url=tph.utility.update_param_in_string('aff_sub','rc-trending-'+loop_count,updated_url);jQuery(this).attr('href',updated_url)});var loop_count=0;jQuery('.inhouse-trending-results .single-posts-trending-content a.photo-essay-article-content-title').each(function(){loop_count++;var current_url=jQuery(this).attr('href');var updated_url=tph.utility.update_param_in_string('rc','rc-trending-'+loop_count,current_url);updated_url=tph.utility.update_param_in_string('aff_sub','rc-trending-'+loop_count,updated_url);jQuery(this).attr('href',updated_url)});jQuery("#penny-form-success a.btn.btn-block.btn-primary").attr("href","https://www.thepennyhoarder.com/").text("Read More From The Penny Hoarder");jQuery('#debugData').remove();var user_agent=navigator.userAgent.toLowerCase();if(user_agent.indexOf('wordpress')!=-1||user_agent.indexOf('minigun')!=-1){jQuery('a[href*="//t.thepennyhoarder.com"]').each(function(content,index){jQuery(this).attr('href',jQuery(this).attr('href').replace('t.thepennyhoarder.com','disabled'));})}if(jQuery('body').hasClass('post-type-archive-academy')||jQuery('body').hasClass('single-academy')||jQuery('body').hasClass('page-template-template-financial-landing-page')){jQuery('#one-time-fixed').addClass('force-hidden');jQuery('body').removeClass('one-time-fixed-body');jQuery('.navbar.navbar-fixed-top').css('top','0px');}jQuery('section[data-at-aff_sub5]').each(function(){var aff_sub5=jQuery(this).attr('data-at-aff_sub5');jQuery('a[href*="go2cloud.org"],a[href*="//t.thepennyhoarder.com"]',jQuery(this)).each(function(){var href=jQuery(this).attr('href');var current_aff_sub_5='aff_sub5='+tph.utility.get_param_from_string('aff_sub5',href);var new_aff_sub5='aff_sub5='+aff_sub5;href=href.replace(current_aff_sub_5,new_aff_sub5,href) jQuery(this).attr('href',decodeURIComponent(href));})}) jQuery('a[href^="'+window.location.origin+'"]').each(function(){var the_href=jQuery(this).attr('href');var the_href_arr=the_href.split('aff_sub2=');if(the_href_arr.length==3){var temp=the_href_arr[1].split('&');var first_aff_2_value=temp.shift();var new_href=the_href.replace('aff_sub2='+first_aff_2_value,'',the_href).replace('?&','?');jQuery(this).attr('href',new_href);}});jQuery('a[href*="//t.thepennyhoarder.com"]').each(function(){var aff_sub5;var the_href=jQuery(this).attr('href');var url=new URL(the_href);var aff_sub=url.searchParams.get("aff_sub");if(aff_sub!=null&&aff_sub.indexOf('rc-')!=-1){var aff_sub5=url.searchParams.get("aff_sub5");if(aff_sub5!=null){var new_aff_sub=aff_sub5+"|"+aff_sub;if(aff_sub5.indexOf("|"+aff_sub)==-1){aff_sub=new_aff_sub;}}url.searchParams.set("aff_sub5",aff_sub);jQuery(this).attr('href',decodeURIComponent(url));}});jQuery(".tph-academy-ecourse-side-navigation.col-md-3").attr("style",'margin-top: 0px !important;');if(window.location.pathname=='/careers/'&&$('ul.greenhouse-open-positions').length===1){tph.utility.load_script(window.location.origin+'/wp-content/themes/pennyhoarder/assets/js/display-greenhouse-job-listings.js','body',true)}}).catch(function(error){console.log('customJS error 1',error)});});jQuery(window).on('load',function(){tph.load().then(function(){tph.utility.internalLinkSourceAttribution();tph.utility.appendTrackingToAllAffiliateLinks();jQuery('.hasoffers-callback').each(function(){let unprocessedHOCallback,processedAffHref;unprocessedHOCallback=jQuery(this);processedAffHref=tph.utility.affLink.appendTracking(unprocessedHOCallback.val());unprocessedHOCallback.val(processedAffHref);})}).catch(function(error){console.log('customJS error 2',error)});}) Source link
Source/Repost=> http://technewsdestination.com/what-are-the-cheapest-days-to-fly-read-this-before-you-book/ ** Alex Hammer | Founder and CEO at Ecommerce ROI ** http://technewsdestination.com
0 notes