Flow is a state of total immersion in a task that is challenging yet closely matched to one’s abilities, akin to “being in the zone.” Flow occurs when a person’s skills match the level of challenge presented by the environment and when a task includes clear goals and immediate feedback. Tasks that are too easy are boring. In contrast, tasks that people perceive to be too difficult lead to anxiety.
Different scholars use different definitions of boredom, which complicates research.[9] Boredom has been defined by Cynthia D. Fisher in terms of its main central psychological processes: "an unpleasant, transient affective state in which the individual feels a pervasive lack of interest and difficulty concentrating on the current activity."[10] Mark Leary et al. describe boredom as "an affective experience associated with cognitive attentional processes."[11] In positive psychology, boredom is described as a response to a moderate challenge for which the subject has more than enough skill.[12][full citation needed]
“Boredom is a flight from what is important. Like workaholism and perfectionism, it is a way of distracting yourself from inner experiences. It occurs when you look outward and do not find anything to engage your attention. Instead of feeling your emotions - becoming aware of the functioning of your energy system - you become bored. Boredom ... is a flight from your higher potential. It is fear of the transformation that wants to occur, and will occur in you, when you explore your emotions. It is your resistance to spiritual growth.”
“When I have neither pleasure nor pain and have been breathing for a while the lukewarm insipid air of these so called good and tolerable days, I feel so bad in my childish soul that I smash my moldering lyre of thanksgiving in the face of the slumbering god of contentment and would rather feel the very devil burn in me than this warmth of a well-heated room. A wild longing for strong emotions and sensations seethes in me, a rage against this toneless, flat, normal and sterile life. I have a mad impulse to smash something, a warehouse, perhaps, or a cathedral, or myself, to commit outrages, to pull off the wigs of a few revered idols...”

One more key element of boredom is control. Boredom often occurs when you have little control over your situation. Waiting rooms, lectures, and airline gates are all places where you have little control over your situation. Normally, we react to unpleasant situations by changing the situation. If you don’t like a book you are reading, for example, you close it and do something else. Boredom happens when you are unable to change the situation.  
!function(n,t){function r(e,n){return Object.prototype.hasOwnProperty.call(e,n)}function o(e){return void 0===e}if(n){var i={},s=n.TraceKit,u=[].slice,l="?";i.noConflict=function(){return n.TraceKit=s,i},i.wrap=function(e){function n(){try{return e.apply(this,arguments)}catch(e){throw i.report(e),e}}return n},i.report=function(){function e(e){l(),h.push(e)}function t(e){for(var n=h.length-1;n>=0;--n)h[n]===e&&h.splice(n,1)}function o(e,n){var t=null;if(!n||i.collectWindowErrors){for(var o in h)if(r(h,o))try{h[o].apply(null,[e].concat(u.call(arguments,2)))}catch(e){t=e}if(t)throw t}}function s(e,n,t,r,s){var u=null;if(y)i.computeStackTrace.augmentStackTraceWithInitialElement(y,n,t,e),a();else if(s)u=i.computeStackTrace(s),o(u,!0);else{var l={url:n,line:t,column:r};l.func=i.computeStackTrace.guessFunctionName(l.url,l.line),l.context=i.computeStackTrace.gatherContext(l.url,l.line),u={mode:"onerror",message:e,stack:[l]},o(u,!0)}return!!f&&f.apply(this,arguments)}function l(){!0!==p&&(f=n.onerror,n.onerror=s,p=!0)}function a(){var e=y,n=d;d=null,y=null,m=null,o.apply(null,[e,!1].concat(n))}function c(e){if(y){if(m===e)return;a()}var t=i.computeStackTrace(e);throw y=t,m=e,d=u.call(arguments,1),n.setTimeout(function(){m===e&&a()},t.incomplete?2e3:0),e}var f,p,h=[],d=null,m=null,y=null;return c.subscribe=e,c.unsubscribe=t,c}(),i.computeStackTrace=function(){function e(e){if(!i.remoteFetching)return"";try{var t=function(){try{return new n.XMLHttpRequest}catch(e){return new n.ActiveXObject("Microsoft.XMLHTTP")}},r=t();return r.open("GET",e,!1),r.send(""),r.responseText}catch(e){return""}}function t(t){if("string"!=typeof t)return[];if(!r(x,t)){var o="",i="";try{i=n.document.domain}catch(e){}var s=/(.*)\:\/\/([^:\/]+)([:\d]*)\/{0,1}([\s\S]*)/.exec(t);s&&s[2]===i&&(o=e(t)),x[t]=o?o.split("\n"):[]}return x[t]}function s(e,n){var r,i=/function ([^(]*)\(([^)]*)\)/,s=/['"]?([0-9A-Za-z$_]+)['"]?\s*[:=]\s*(function|eval|new Function)/,u="",a=10,c=t(e);if(!c.length)return l;for(var f=0;f0?s:null}function a(e){return e.replace(/[\-\[\]{}()*+?.,\\\^$|#]/g,"\\$&")}function c(e){return a(e).replace("<","(?:<|<)").replace(">","(?:>|>)").replace("&","(?:&|&)").replace('"','(?:"|")').replace(/\s+/g,"\\s+")}function f(e,n){for(var r,o,i=0,s=n.length;ir&&(o=s.exec(i[r]))?o.index:null}function h(e){if(!o(n&&n.document)){for(var t,r,i,s,u=[n.location.href],l=n.document.getElementsByTagName("script"),p=""+e,h=/^function(?:\s+([\w$]+))?\s*\(([\w\s,]*)\)\s*\{\s*(\S[\s\S]*\S)\s*\}\s*$/,d=/^function on([\w$]+)\s*\(event\)\s*\{\s*(\S[\s\S]*\S)\s*\}\s*$/,m=0;m]+)>|([^\)]+))\((.*)\))? in (.*):\s*$/i,i=n.split("\n"),l=[],a=0;a=0&&(g.line=v+j.substring(0,x).split("\n").length)}}}else if(i=p.exec(o[w])){var _=n.location.href.replace(/#.*$/,""),T=new RegExp(c(o[w+1])),E=f(T,[_]);g={url:_,func:"",args:[],line:E?E.line:i[1],column:null}}if(g){g.func||(g.func=s(g.url,g.line));var k=u(g.url,g.line),A=k?k[Math.floor(k.length/2)]:null;k&&A.replace(/^\s*/,"")===o[w+1].replace(/^\s*/,"")?g.context=k:g.context=[o[w+1]],h.push(g)}}return h.length?{mode:"multiline",name:e.name,message:o[0],stack:h}:null}function w(e,n,t,r){var o={url:n,line:t};if(o.url&&o.line){e.incomplete=!1,o.func||(o.func=s(o.url,o.line)),o.context||(o.context=u(o.url,o.line));var i=/ '([^']+)' /.exec(r);if(i&&(o.column=p(i[1],o.url,o.line)),e.stack.length>0&&e.stack[0].url===o.url){if(e.stack[0].line===o.line)return!1;if(!e.stack[0].line&&e.stack[0].func===o.func)return e.stack[0].line=o.line,e.stack[0].context=o.context,!1}return e.stack.unshift(o),e.partial=!0,!0}return e.incomplete=!0,!1}function g(e,n){for(var t,r,o,u=/function\s+([_$a-zA-Z\xA0-\uFFFF][_$a-zA-Z0-9\xA0-\uFFFF]*)?\s*\(/i,a=[],c={},f=!1,d=g.caller;d&&!f;d=d.caller)if(d!==v&&d!==i.report){if(r={url:null,func:l,args:[],line:null,column:null},d.name?r.func=d.name:(t=u.exec(d.toString()))&&(r.func=t[1]),"undefined"==typeof r.func)try{r.func=t.input.substring(0,t.input.indexOf("{"))}catch(e){}if(o=h(d)){r.url=o.url,r.line=o.line,r.func===l&&(r.func=s(r.url,r.line));var m=/ '([^']+)' /.exec(e.message||e.description);m&&(r.column=p(m[1],o.url,o.line))}c[""+d]?f=!0:c[""+d]=!0,a.push(r)}n&&a.splice(0,n);var y={mode:"callers",name:e.name,message:e.message,stack:a};return w(y,e.sourceURL||e.fileName,e.line||e.lineNumber,e.message||e.description),y}function v(e,n){var t=null;n=null==n?0:+n;try{if(t=m(e))return t}catch(e){if(j)throw e}try{if(t=d(e))return t}catch(e){if(j)throw e}try{if(t=y(e))return t}catch(e){if(j)throw e}try{if(t=g(e,n+1))return t}catch(e){if(j)throw e}return{mode:"failed"}}function b(e){e=1+(null==e?0:+e);try{throw new Error}catch(n){return v(n,e+1)}}var j=!1,x={};return v.augmentStackTraceWithInitialElement=w,v.guessFunctionName=s,v.gatherContext=u,v.ofCaller=b,v.getSource=t,v}(),i.extendToAsynchronousCallbacks=function(){var e=function(e){var t=n[e];n[e]=function(){var e=u.call(arguments),n=e[0];return"function"==typeof n&&(e[0]=i.wrap(n)),t.apply?t.apply(this,e):t(e[0],e[1])}};e("setTimeout"),e("setInterval")},i.remoteFetching||(i.remoteFetching=!0),i.collectWindowErrors||(i.collectWindowErrors=!0),(!i.linesOfContext||i.linesOfContext<1)&&(i.linesOfContext=11),void 0!==e&&e.exports&&n.module!==e?e.exports=i:"function"==typeof define&&define.amd?define("TraceKit",[],i):n.TraceKit=i}}("undefined"!=typeof window?window:global)},"./webpack-loaders/expose-loader/index.js?require!./shared/require-global.js":function(e,n,t){(function(n){e.exports=n.require=t("./shared/require-global.js")}).call(n,t("../../../lib/node_modules/webpack/buildin/global.js"))}});
Boredom also plays a role in existentialist thought. Søren Kierkegaard and Friedrich Nietzsche were two of the first philosophers considered fundamental to the existentialist movement. Like Pascal, they were interested in people's quiet struggle with the apparent meaninglessness of life and the use of diversion to escape from boredom. Kierkegaard's Either/Or describes the rotation method, a method used by higher level aesthetes in order to avoid boredom. The method is an essential hedonistic aspect of the aesthetic way of life. For the aesthete, one constantly changes what one is doing in order to maximize the enjoyment and pleasure derived from each activity.
“Alcohol makes other people less tedious, and food less bland, and can help provide what the Greeks called entheos, or the slight buzz of inspiration when reading or writing. The only worthwhile miracle in the New Testament—the transmutation of water into wine during the wedding at Cana—is a tribute to the persistence of Hellenism in an otherwise austere Judaea. The same applies to the seder at Passover, which is obviously modeled on the Platonic symposium: questions are asked (especially of the young) while wine is circulated. No better form of sodality has ever been devised: at Oxford one was positively expected to take wine during tutorials. The tongue must be untied. It's not a coincidence that Omar Khayyam, rebuking and ridiculing the stone-faced Iranian mullahs of his time, pointed to the value of the grape as a mockery of their joyless and sterile regime. Visiting today's Iran, I was delighted to find that citizens made a point of defying the clerical ban on booze, keeping it in their homes for visitors even if they didn't particularly take to it themselves, and bootlegging it with great brio and ingenuity. These small revolutions affirm the human.”
Boredom is caused by lack of interest. You can have many hobbies or none at all, you can be around a group of people, or all by yourself. Boredom is not caused by the environment, nor the activities. It is a matter of the heart. If you have many interests you will never be bored but then again you can have only one interest, and still never be bored. If you follow your heart and act upon your hearts desires, there are numbers of possible emotions and mental states, however, boredom would not be one of them. Boredom is a state of mind that is close to blank, or a heart that is empty with no ...
Martin Heidegger wrote about boredom in two texts available in English, in the 1929/30 semester lecture course The Fundamental Concepts of Metaphysics, and again in the essay What is Metaphysics? published in the same year. In the lecture, Heidegger included about 100 pages on boredom, probably the most extensive philosophical treatment ever of the subject. He focused on waiting at railway stations in particular as a major context of boredom.[25] Søren Kierkegaard remarks in Either/Or that "patience cannot be depicted" visually, since there is a sense that any immediate moment of life may be fundamentally tedious.
Boredom also has its benefits. It is important to see boredom as a “call to action” (Svendsen, 1999). Nietzsche suggested that men of rare sensibility value boredom as an impetus to achievement. Boredom can be a catalyst for action. It can provide an opportunity for thought and reflection. It can also be a sign that a task is a waste of time—and thus not worth continuing.