{"componentChunkName":"component---src-templates-post-js","path":"/blog/2016/12/24/motivation-for-programming/","result":{"data":{"site":{"siteMetadata":{"siteUrl":"https://sung.codes"}},"mdx":{"id":"b04b3579-5963-5961-a589-d55d26449eda","body":"function _extends() { _extends = Object.assign || function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends.apply(this, arguments); }\n\nfunction _objectWithoutProperties(source, excluded) { if (source == null) return {}; var target = _objectWithoutPropertiesLoose(source, excluded); var key, i; if (Object.getOwnPropertySymbols) { var sourceSymbolKeys = Object.getOwnPropertySymbols(source); for (i = 0; i < sourceSymbolKeys.length; i++) { key = sourceSymbolKeys[i]; if (excluded.indexOf(key) >= 0) continue; if (!Object.prototype.propertyIsEnumerable.call(source, key)) continue; target[key] = source[key]; } } return target; }\n\nfunction _objectWithoutPropertiesLoose(source, excluded) { if (source == null) return {}; var target = {}; var sourceKeys = Object.keys(source); var key, i; for (i = 0; i < sourceKeys.length; i++) { key = sourceKeys[i]; if (excluded.indexOf(key) >= 0) continue; target[key] = source[key]; } return target; }\n\n/* @jsxRuntime classic */\n\n/* @jsx mdx */\nvar _frontmatter = {\n  \"title\": \"Motivation for Programming\",\n  \"date\": \"2016-12-24\",\n  \"published_at\": \"2016-12-25T04:30:17.000Z\",\n  \"tags\": \"blogentry, github, motivation\",\n  \"author\": \"Sung M. Kim\"\n};\nvar layoutProps = {\n  _frontmatter: _frontmatter\n};\nvar MDXLayout = \"wrapper\";\nreturn function MDXContent(_ref) {\n  var components = _ref.components,\n      props = _objectWithoutProperties(_ref, [\"components\"]);\n\n  return mdx(MDXLayout, _extends({}, layoutProps, props, {\n    components: components,\n    mdxType: \"MDXLayout\"\n  }), mdx(\"p\", null, \"I've coded for fun last year to learn how to make Web API calls using C#. The library access \", mdx(\"a\", _extends({\n    parentName: \"p\"\n  }, {\n    \"href\": \"https://myanimelist.net/modules.php?go=api\"\n  }), \"MyAnimeList.net API\"), \" and the project is called \", mdx(\"a\", _extends({\n    parentName: \"p\"\n  }, {\n    \"href\": \"https://github.com/dance2die/MyAnimeListSharp\"\n  }), \"MyAnimeListSharp\"), \", which I never thought anyone would use.\"), mdx(\"p\", null, mdx(\"span\", _extends({\n    parentName: \"p\"\n  }, {\n    \"className\": \"gatsby-resp-image-wrapper\",\n    \"style\": {\n      \"position\": \"relative\",\n      \"display\": \"block\",\n      \"marginLeft\": \"auto\",\n      \"marginRight\": \"auto\",\n      \"maxWidth\": \"753px\"\n    }\n  }), \"\\n      \", mdx(\"a\", _extends({\n    parentName: \"span\"\n  }, {\n    \"className\": \"gatsby-resp-image-link\",\n    \"href\": \"/static/1a00c0ad1fca1e966459210189ffe3b0/87a16/MAL.jpg\",\n    \"style\": {\n      \"display\": \"block\"\n    },\n    \"target\": \"_blank\",\n    \"rel\": \"noopener\"\n  }), \"\\n    \", mdx(\"span\", _extends({\n    parentName: \"a\"\n  }, {\n    \"className\": \"gatsby-resp-image-background-image\",\n    \"style\": {\n      \"paddingBottom\": \"92.27799227799228%\",\n      \"position\": \"relative\",\n      \"bottom\": \"0\",\n      \"left\": \"0\",\n      \"backgroundImage\": \"url('data:image/jpeg;base64,/9j/2wBDABALDA4MChAODQ4SERATGCgaGBYWGDEjJR0oOjM9PDkzODdASFxOQERXRTc4UG1RV19iZ2hnPk1xeXBkeFxlZ2P/2wBDARESEhgVGC8aGi9jQjhCY2NjY2NjY2NjY2NjY2NjY2NjY2NjY2NjY2NjY2NjY2NjY2NjY2NjY2NjY2NjY2NjY2P/wgARCAASABQDASIAAhEBAxEB/8QAGAABAAMBAAAAAAAAAAAAAAAAAAMEBQH/xAAWAQEBAQAAAAAAAAAAAAAAAAAAAQL/2gAMAwEAAhADEAAAAdftKM1FIlSY01hm/wD/xAAbEAACAgMBAAAAAAAAAAAAAAAAAQIDBBITEf/aAAgBAQABBQJQRzR4KyxHWzaFk9dpGNKTtP/EABQRAQAAAAAAAAAAAAAAAAAAACD/2gAIAQMBAT8BH//EABURAQEAAAAAAAAAAAAAAAAAABAB/9oACAECAQE/ASn/xAAeEAACAQMFAAAAAAAAAAAAAAAAARExQZECECEyUf/aAAgBAQAGPwK+S+SrHPp2aRSTVy6sctvb/8QAHBABAAICAwEAAAAAAAAAAAAAAQARITFBYZGB/9oACAEBAAE/IRO/aL5X3garV3Om6RRYAvBuPy+kOrc0NzK5YT//2gAMAwEAAgADAAAAEHgwAP/EABYRAQEBAAAAAAAAAAAAAAAAAAEQQf/aAAgBAwEBPxANhP/EABgRAAIDAAAAAAAAAAAAAAAAAAERABAh/9oACAECAQE/ECXkdv/EABwQAQACAgMBAAAAAAAAAAAAAAEAESExQWFxgf/aAAgBAQABPxBwheFFbNdsjgU4bssKpYVSJxXP2Ja7IFOhi+oNRSuRT40QCy8ZngxCEy9OnE0n/9k=')\",\n      \"backgroundSize\": \"cover\",\n      \"display\": \"block\"\n    }\n  })), \"\\n  \", mdx(\"img\", _extends({\n    parentName: \"a\"\n  }, {\n    \"className\": \"gatsby-resp-image-image\",\n    \"alt\": \"MAL\",\n    \"title\": \"MAL\",\n    \"src\": \"/static/1a00c0ad1fca1e966459210189ffe3b0/87a16/MAL.jpg\",\n    \"srcSet\": [\"/static/1a00c0ad1fca1e966459210189ffe3b0/8356d/MAL.jpg 259w\", \"/static/1a00c0ad1fca1e966459210189ffe3b0/bc760/MAL.jpg 518w\", \"/static/1a00c0ad1fca1e966459210189ffe3b0/87a16/MAL.jpg 753w\"],\n    \"sizes\": \"(max-width: 753px) 100vw, 753px\",\n    \"style\": {\n      \"width\": \"100%\",\n      \"height\": \"100%\",\n      \"margin\": \"0\",\n      \"verticalAlign\": \"middle\",\n      \"position\": \"absolute\",\n      \"top\": \"0\",\n      \"left\": \"0\"\n    },\n    \"loading\": \"lazy\"\n  })), \"\\n  \"), \"\\n    \"), \"As a background information, MyAnimeList is a well known community/website for searching Japanese Anime (animation) or Manga (cartoon) as well as maintaining your Manga/Anime viewing list.\"), mdx(\"p\", null, \"A few days ago, someone (\", mdx(\"a\", _extends({\n    parentName: \"p\"\n  }, {\n    \"href\": \"https://github.com/onilink128\"\n  }), \"onilink128\"), \") has created an issue for the project I haven't touched over a year.\\xA0That person reported a \", mdx(\"a\", _extends({\n    parentName: \"p\"\n  }, {\n    \"href\": \"https://github.com/dance2die/MyAnimeListSharp/issues/3\"\n  }), \"GitHub issue\"), \" that the library stopped working. I was a bit confused initially that someone was actually using my library. After a few moments later, I was feeling pleasure from the issue even though it was about reporting a problem in my code. I was just glad that someone has actually tried to use the code I wrote publicly. I've gotten back the motivation I've lost to work on that project a year ago.\"), mdx(\"p\", null, \"I've newly found a motivation to keep myself to keep programming. It's funny how a problem often causes me to look forward to what's coming next.\"));\n}\n;\nMDXContent.isMDXComponent = true;","frontmatter":{"title":"Motivation for Programming","banner":null},"excerpt":"I've coded for fun last year to learn how to make Web API calls using C#. The library access  MyAnimeList.net API  and the project is called…","fields":{"year":"2016","slug":"/blog/2016/12/24/motivation-for-programming/"}}},"pageContext":{"id":"b04b3579-5963-5961-a589-d55d26449eda"}},"staticQueryHashes":["398935099"]}