scribelm-dataset / val.jsonl
gnumanth's picture
Upload 388-post Hemanth HM multi-task writing, rewrite, social & critic dataset
832feab verified
Raw History Blame Contribute Delete
265 kB
{"id": "blog_sms-service-with-firefox-os", "slug": "sms-service-with-firefox-os", "task": "blog", "category": "web", "title": "SMS Service with Firefox OS", "tags": ["javascript", "firefoxos"], "prompt": "<|task:blog|>\nTitle: SMS Service with Firefox OS\nCategory: web\nTags: javascript, firefoxos\nSummary: Building an SMS booking service using Firefox OS APIs. Practical notes and code examples on SMS Service with Firefox OS by.\n<|hemanth|>\n", "input_text": "SMS Service with Firefox OS (web): Building an SMS booking service using Firefox OS APIs. Practical notes and code examples on SMS Service with Firefox OS by.", "target_text": "A course booking SMS service with Firefox OS:\n\n1. Customer sends: `<name> <course_name> <course_time> <tickets>`\n2. System replies: `Thank you <name>! Your booking (<tickets> tickets) for <course_name> at <course_time> is confirmed.`\n\n## Implementation\n\n```javascript\nnavigator.mozMobileMessage.onreceived = (sms) => {\n let cust = sms.message.sender,\n [name, courseName, courseTime, tcktCnt] = sms.message.body.split(' '),\n msg = `Thank you ${name}! Your booking (${tcktCnt} tickets) for ${courseName} at ${courseTime} is confirmed.`;\n \n navigator.mozMobileMessage.send(cust, msg);\n};\n```\n\nThis was built at a hackathon - the easiest way to test is running the official SMS app in debug mode.", "is_hemanth_target": 1, "style_metrics": {"directness": 0.818, "hook_strength": 0.77, "zero_fluff": 1.0, "code_first": 1.0, "cadence": 1.0, "p_hemanth": 0.9668}, "split_hint": "val"}
{"id": "critic_neg_introducing-slang-api", "slug": "introducing-slang-api", "task": "critic", "category": "javascript", "title": "Introducing the Slang API", "prompt": "<|task:critic|>\nText:\nIn today's rapidly evolving javascript landscape, developers and organizations frequently encounter multifaceted challenges regarding Introducing the Slang API. Specifically, when delving into this paradigm, it is important to comprehensively evaluate the following technical context: Lately was working on some slang filtering module, but for the LOLz of it made a simple JSON API. The deal is pretty simple, the API takes in an SMS slang word and expands the acronym. **So, here is a simple jQuery code to get results :** Furthermore, leveraging a holistic methodology facilitates seamless developer productivity.\n<|hemanth|>\n", "input_text": "In today's rapidly evolving javascript landscape, developers and organizations frequently encounter multifaceted challenges regarding Introducing the Slang API. Specifically, when delving into this paradigm, it is important to comprehensively evaluate the following technical context: Lately was working on some slang filtering module, but for the LOLz of it made a simple JSON API. The deal is pretty simple, the API takes in an SMS slang word and expands the acronym. **So, here is a simple jQuery code to get results :** Furthermore, leveraging a holistic methodology facilitates seamless developer productivity.", "target_text": "verdict: needs_hemanth_rewrite (p_hemanth=0.21)\ndirectness=0.51 | hook=0.51 | zero_fluff=0.08 | code_first=0.35 | cadence=0.85\nnotes: Cut filler ('multifaceted', 'delving', 'paradigm', 'holistic'). Lead with a 1-sentence hook and a concrete code or metric example.", "is_hemanth_target": 0, "style_metrics": {"directness": 0.5071, "hook_strength": 0.5125, "zero_fluff": 0.0821, "code_first": 0.35, "cadence": 0.8474, "p_hemanth": 0.2122}, "split_hint": "val"}
{"id": "rewrite_new-vlc-10-howto-get-it", "slug": "new-vlc-10-howto-get-it", "task": "rewrite", "category": "cli", "title": "New VLC 1.0 howto get it", "prompt": "<|task:rewrite|>\nTopic: New VLC 1.0 howto get it\nDraft:\nIn today's rapidly evolving cli landscape, developers and organizations frequently encounter multifaceted challenges regarding New VLC 1.0 howto get it. Specifically, when delving into this paradigm, it is important to comprehensively evaluate the following technical context: Follow these steps: **Ubuntu 8.10 Intrepid:** Furthermore, leveraging a holistic methodology facilitates seamless developer productivity.\n<|hemanth|>\n", "input_text": "In today's rapidly evolving cli landscape, developers and organizations frequently encounter multifaceted challenges regarding New VLC 1.0 howto get it. Specifically, when delving into this paradigm, it is important to comprehensively evaluate the following technical context: Follow these steps: **Ubuntu 8.10 Intrepid:** Furthermore, leveraging a holistic methodology facilitates seamless developer productivity.", "target_text": "Follow these steps:\n\n**Ubuntu 8.10 Intrepid:**\n\n```bash\nsudo sh -c \"echo 'deb http://ppa.launchpad.net/c-korn/vlc/ubuntu intrepid main' >> /etc/apt/sources.list\"\n```", "is_hemanth_target": 1, "style_metrics": {"directness": 0.818, "hook_strength": 0.77, "zero_fluff": 1.0, "code_first": 1.0, "cadence": 0.86, "p_hemanth": 0.9598}, "draft_metrics": {"directness": 0.3598, "hook_strength": 0.7282, "zero_fluff": 0.05, "code_first": 0.35, "cadence": 0.8588, "p_hemanth": 0.2072}, "split_hint": "val"}
{"id": "rewrite_sublime-text-build-system-errno-2", "slug": "sublime-text-build-system-errno-2", "task": "rewrite", "category": "web", "title": "Sublime Text Build System Errno 2", "prompt": "<|task:rewrite|>\nTopic: Sublime Text Build System Errno 2\nDraft:\nIn today's rapidly evolving web landscape, developers and organizations frequently encounter multifaceted challenges regarding Sublime Text Build System Errno 2. Specifically, when delving into this paradigm, it is important to comprehensively evaluate the following technical context: While working on the [yeoman-sublime-plugin](https://github.com/yeoman/sublime-plugin/), I faced `[Errno 2] No such file or directory`. ## The Solution Furthermore, leveraging a holistic methodology facilitates seamless developer productivity.\n<|hemanth|>\n", "input_text": "In today's rapidly evolving web landscape, developers and organizations frequently encounter multifaceted challenges regarding Sublime Text Build System Errno 2. Specifically, when delving into this paradigm, it is important to comprehensively evaluate the following technical context: While working on the [yeoman-sublime-plugin](https://github.com/yeoman/sublime-plugin/), I faced `[Errno 2] No such file or directory`. ## The Solution Furthermore, leveraging a holistic methodology facilitates seamless developer productivity.", "target_text": "While working on the [yeoman-sublime-plugin](https://github.com/yeoman/sublime-plugin/), I faced `[Errno 2] No such file or directory`.\n\n## The Solution\n\n```json\n{\n \"working_dir\": \"${project_path:${folder}}\",\n \"path\": \"$HOME/bin:/usr/local/bin:$PATH\",\n \"cmd\": [\"sh\", \"-c\", \"npm install && bower install\"]\n}\n```", "is_hemanth_target": 1, "style_metrics": {"directness": 0.818, "hook_strength": 1.0, "zero_fluff": 1.0, "code_first": 1.0, "cadence": 0.8588, "p_hemanth": 0.9725}, "draft_metrics": {"directness": 0.4798, "hook_strength": 0.5982, "zero_fluff": 0.05, "code_first": 0.7681, "cadence": 0.9465, "p_hemanth": 0.3798}, "split_hint": "val"}
{"id": "rewrite_publish-packages-to-npm-with-yeoman", "slug": "publish-packages-to-npm-with-yeoman", "task": "rewrite", "category": "node", "title": "Publish Packages to NPM with Yeoman", "prompt": "<|task:rewrite|>\nTopic: Publish Packages to NPM with Yeoman\nDraft:\nIn today's rapidly evolving node landscape, developers and organizations frequently encounter multifaceted challenges regarding Publish Packages to NPM with Yeoman. Specifically, when delving into this paradigm, it is important to comprehensively evaluate the following technical context: [Yeoman](http://yeoman.io/) makes creating and maintaining node packages easy with [generator-node](https://github.com/yeoman/generator-node). ## Getting Started ```bash npm install -g generator-node mkdir exmp && cd $_ yo node Furthermore, leveraging a holistic methodology facilitates seamless developer productivity.\n<|hemanth|>\n", "input_text": "In today's rapidly evolving node landscape, developers and organizations frequently encounter multifaceted challenges regarding Publish Packages to NPM with Yeoman. Specifically, when delving into this paradigm, it is important to comprehensively evaluate the following technical context: [Yeoman](http://yeoman.io/) makes creating and maintaining node packages easy with [generator-node](https://github.com/yeoman/generator-node). ## Getting Started ```bash npm install -g generator-node mkdir exmp && cd $_ yo node Furthermore, leveraging a holistic methodology facilitates seamless developer productivity.", "target_text": "[Yeoman](http://yeoman.io/) makes creating and maintaining node packages easy with [generator-node](https://github.com/yeoman/generator-node).\n\n## Getting Started\n\n```bash\nnpm install -g generator-node\nmkdir exmp && cd $_\nyo node", "is_hemanth_target": 1, "style_metrics": {"directness": 0.6871, "hook_strength": 0.77, "zero_fluff": 1.0, "code_first": 0.35, "cadence": 0.7176, "p_hemanth": 0.8349}, "draft_metrics": {"directness": 0.3707, "hook_strength": 0.5125, "zero_fluff": 0.0601, "code_first": 0.35, "cadence": 0.7174, "p_hemanth": 0.1344}, "split_hint": "val"}
{"id": "rewrite_removing-usb-viruses-most-viruses-which-are-wide-speared-due-os-windows-can-me-easily-smashe", "slug": "removing-usb-viruses-most-viruses-which-are-wide-speared-due-os-windows-can-me-easily-smashe", "task": "rewrite", "category": "linux", "title": "Removing USB viruses--Most of the Viruses Which Are Wide Speared Due to OS Like Windows Can Me Easily Smashed in OS Like UBUNTU ;)", "prompt": "<|task:rewrite|>\nTopic: Removing USB viruses--Most of the Viruses Which Are Wide Speared Due to OS Like Windows Can Me Easily Smashed in OS Like UBUNTU ;)\nDraft:\nIn today's rapidly evolving linux landscape, developers and organizations frequently encounter multifaceted challenges regarding Removing USB viruses--Most of the Viruses Which Are Wide Speared Due to OS Like Windows Can Me Easily Smashed in OS Like UBUNTU ;). Specifically, when delving into this paradigm, it is important to comprehensively evaluate the following technical context: Steps leads to success 1\\. cd /media/ 2\\. sudo chmod 777 _._ Common viruses * Autorun.inf * Ravmon.exe * New Folder.exe * svchost.exe * Heap41a * NewFolder.exe * System * RECYCLER or any other exe file which may be suspicious 3\\. sudo rm -rf *.exe 4\\. sudo rm -rf P.S : If setp 2 did not help try sudo chmod Furthermore, leveraging a holistic methodology facilitates seamless developer productivity.\n<|hemanth|>\n", "input_text": "In today's rapidly evolving linux landscape, developers and organizations frequently encounter multifaceted challenges regarding Removing USB viruses--Most of the Viruses Which Are Wide Speared Due to OS Like Windows Can Me Easily Smashed in OS Like UBUNTU ;). Specifically, when delving into this paradigm, it is important to comprehensively evaluate the following technical context: Steps leads to success 1\\. cd /media/ 2\\. sudo chmod 777 _._ Common viruses * Autorun.inf * Ravmon.exe * New Folder.exe * svchost.exe * Heap41a * NewFolder.exe * System * RECYCLER or any other exe file which may be suspicious 3\\. sudo rm -rf *.exe 4\\. sudo rm -rf P.S : If setp 2 did not help try sudo chmod Furthermore, leveraging a holistic methodology facilitates seamless developer productivity.", "target_text": "Steps leads to success \n \n1\\. cd /media/ \n2\\. sudo chmod 777 _._ \n \nCommon viruses \n \n* Autorun.inf \n* Ravmon.exe \n* New Folder.exe \n* svchost.exe \n* Heap41a \n* NewFolder.exe \n* System \n* RECYCLER \n \nor any other exe file which may be suspicious \n \n3\\. sudo rm -rf *.exe \n \n4\\. sudo rm -rf \n \nP.S : If setp 2 did not help try sudo chmod 777", "is_hemanth_target": 1, "style_metrics": {"directness": 0.818, "hook_strength": 0.77, "zero_fluff": 1.0, "code_first": 0.35, "cadence": 1.0, "p_hemanth": 0.9107}, "draft_metrics": {"directness": 0.578, "hook_strength": 0.5125, "zero_fluff": 0.1581, "code_first": 0.35, "cadence": 0.664, "p_hemanth": 0.2273}, "split_hint": "val"}
{"id": "blog_reading-logs-made-easy-bash", "slug": "reading-logs-made-easy-bash", "task": "blog", "category": "linux", "title": "Reading Logs Made Easy With Bash.", "tags": ["bash"], "prompt": "<|task:blog|>\nTitle: Reading Logs Made Easy With Bash.\nCategory: linux\nTags: bash\nSummary: Most of the web programmers would normally look into their applications/server error logs when they find issues, indeed.\n<|hemanth|>\n", "input_text": "Reading Logs Made Easy With Bash. (linux): Most of the web programmers would normally look into their applications/server error logs when they find issues, indeed.", "target_text": "Most of the web programmers would normally look into their applications/server error logs when they find issues, indeed it's a pain when the log path is filled with directories, it's sometimes annoying to do an ls -l and look for the latest directory and then cd it, a bit better case is when one tab_completes to change directories.\n\nIt would be very easy if we could **cdn** as in cd to the new dir ;)\n\nSo /me tired some silly script that would make my life easier, do add it to your ~/.bash.rc if we like it!\n\n**Here is the simple script to cdn :**\n\n` cdn() {`\n \n \n local file latest; \n for file in \"${1:-.}\"/*; do \n [[ $file -nt $latest ]] && latest=$file\n done; \n printf '%s\\n' \"$latest\"\n [[ -d $latest ]] && cd $latest || tailf $latest\n \n\n} \n\n**Usage: cdn [dir]**\n\n**Digging into the code:**\n\n * Get all the file and dirs in the specified path or consider \".\" as the default path ` \"${1:-.}\"/* `\n\n * Using file and latest local vars : if `$file -nt $latest` `True` if $file is newer than $latest (according to modification date).\n\n * Finally check if it's a dir or file, if file cd to it else tail it!\n\n**Hope this helps you guys, as it's helping me, happy h", "is_hemanth_target": 1, "style_metrics": {"directness": 0.17, "hook_strength": 0.4155, "zero_fluff": 1.0, "code_first": 0.9928, "cadence": 1.0, "p_hemanth": 0.7818}, "split_hint": "val"}
{"id": "social_inspecting-objects-scripting", "slug": "inspecting-objects-scripting", "task": "social", "category": "python", "title": "Inspecting Objects in Scripting", "prompt": "<|task:social|>\nTitle: Inspecting Objects in Scripting\nCategory: python\nPost:\nExamine the contents of a class / object is one of most useful and repetitive tasks that most of the coder do while debugging.\n\nHere I try to focus on inspecting objects in scripting few of the major scripting languages that /me like.\n\nMainly **JavaScript, Python, Ruby and Perl** shall be covered in this article, feel free to suggest your ways to doing this.\n<|hemanth|>\n", "input_text": "Inspecting Objects in Scripting\nExamine the contents of a class / object is one of most useful and repetitive tasks that most of the coder do while debugging.\n\nHere I try to focus on inspecting objects in scripting few of the major scripting languages that /me like.\n\nMainly **JavaScript, Python, Ruby and Perl** shall be covered in this article, feel free to suggest your ways to doing this.", "target_text": "### LinkedIn\nInspecting Objects in Scripting\n\nExamine the contents of a class / object is one of most useful and repetitive tasks that most of the coder do while debugging.\n\n• Problem: Examine the contents of a class / object is one of most useful and repetitive tasks that most of the coder do while in JS.\n• Takeaway: Here I try to focus on inspecting objects in scripting few of the major scripting languages that /me like.\n\nFull breakdown: https://h3manth.com/scribe/inspecting-objects-scripting/\n\n#Ruby #Python #Javascript #Web\n\n### Hacker News\nTitle: Inspecting Objects in Scripting\n\nExamine the contents of a class / object is one of most useful and repetitive tasks that most of the coder do while debugging.\n\nHere I try to focus on inspecting objects in scripting few of the major scripting languages that /me like.\n\nPost: https://h3manth.com/scribe/inspecting-objects-scripting/\n\n### Reddit\nTitle: Inspecting Objects in Scripting\n\nTL;DR:\n- Examine the contents of a class / object is one of most useful and repetitive tasks that most of the coder do while debugging.\n- Here I try to focus on inspecting objects in scripting few of the major scripting languages that /me like.\n\nBlog: https://h3manth.com/scribe/inspecting-objects-scripting/", "is_hemanth_target": 1, "style_metrics": {"directness": 0.4828, "hook_strength": 0.77, "zero_fluff": 1.0, "code_first": 0.6389, "cadence": 1.0, "p_hemanth": 0.8833}, "split_hint": "val"}
{"id": "social_thisarg-in-javascript", "slug": "thisarg-in-javascript", "task": "social", "category": "javascript", "title": "thisArg in JavaScript", "prompt": "<|task:social|>\nTitle: thisArg in JavaScript\nCategory: javascript\nPost:\nNot many are aware of `thisArg` that several built-in array methods have in their signature.\n\nIf a `thisArg` parameter is provided, it will be used as the `this` value for each invocation of the callback function. If not provided, `undefined` is used instead.\n\n> **Note:** If the callback is an Arrow Function, `this` was lexically bound when the function was created, so `thisArg` will have no effect.\n<|hemanth|>\n", "input_text": "thisArg in JavaScript\nNot many are aware of `thisArg` that several built-in array methods have in their signature.\n\nIf a `thisArg` parameter is provided, it will be used as the `this` value for each invocation of the callback function. If not provided, `undefined` is used instead.\n\n> **Note:** If the callback is an Arrow Function, `this` was lexically bound when the function was created, so `thisArg` will have no effect.", "target_text": "### LinkedIn\nthisArg in JavaScript\n\nNot many are aware of `thisArg` that several built-in array methods have in their signature.\n\n• Problem: Understanding the thisArg parameter in JavaScript array methods. Practical notes and code examples on thisArg in JavaScript.\n• Takeaway: If a `thisArg` parameter is provided, it will be used as the `this` value for each invocation of the callback function. If not provided, `undefined` is used instead.\n\nFull breakdown: https://h3manth.com/scribe/thisarg-in-javascript/\n\n#Javascript\n\n### Hacker News\nTitle: thisArg in JavaScript\n\nNot many are aware of `thisArg` that several built-in array methods have in their signature.\n\nIf a `thisArg` parameter is provided, it will be used as the `this` value for each invocation of the callback function. If not provided, `undefined` is used instead.\n\nPost: https://h3manth.com/scribe/thisarg-in-javascript/\n\n### Reddit\nTitle: thisArg in JavaScript\n\nTL;DR:\n- Not many are aware of `thisArg` that several built-in array methods have in their signature.\n- If a `thisArg` parameter is provided, it will be used as the `this` value for each invocation of the callback function. If not provided, `undefined` is used instead.\n\nBlog: https://h3manth.com/scribe/thisarg-in-javascript/", "is_hemanth_target": 1, "style_metrics": {"directness": 0.776, "hook_strength": 0.77, "zero_fluff": 1.0, "code_first": 1.0, "cadence": 0.9883, "p_hemanth": 0.963}, "split_hint": "val"}
{"id": "blog_google-hourly-hot-trends-command-line", "slug": "google-hourly-hot-trends-command-line", "task": "blog", "category": "linux", "title": "Google Hourly Hot Trends on Command Line", "tags": ["ruby", "bash", "web"], "prompt": "<|task:blog|>\nTitle: Google Hourly Hot Trends on Command Line\nCategory: linux\nTags: ruby, bash, web\nSummary: Well, /me back to pawing at Google from CLI, after few silly apps like getting the weather, news, sunrise and sets from.\n<|hemanth|>\n", "input_text": "Google Hourly Hot Trends on Command Line (linux): Well, /me back to pawing at Google from CLI, after few silly apps like getting the weather, news, sunrise and sets from.", "target_text": "Well, /me back to pawing at Google from CLI, after few silly apps like getting the weather, news, sunrise and sets from terminal from me, again tonight before I hit the bed, did a silly ruby code to get the hourly hot trends on the CLI.\n\nEven though the page had CDATA in it, ignored it fully, rather took advantage of it with nokogiri in ruby to get them all.\n\nAll you have to do is install the nokogiri gem and then try the tiny little script presented below.\n\n`gem install nokogiri` and then the below code. (Shall we call it one liner ;) ?)\n\nrequire 'nokogiri' require 'open-uri'\n\nhot_url = 'http://google.com/trends/hottrends/atom/hourly' page = Nokogiri::HTML(open(hot_url)) p page.css('li').each {|x| p x.text}\n\n**Hot trends when I ran the script :** ~~\"Apple\" \"Robin Roberts\" \"LA Kings\" \"Pirate Bay\" \"True Blood\" \"Tony Awards\" \"ESPN\" \"Miami Heat\" \"Tina Turner\" \"Pacquiao vs Bradley\" \"Madagascar 3\" \"Lindsay Lohan\" \"Belmont Stakes 2012\" \"Creflo Dollar\" \"French Open\" \"Euro 2012\" \"Prometheus\" \"Miami Heat\" \"Lil Phat\" \"Bob Welch\"~~", "is_hemanth_target": 1, "style_metrics": {"directness": 0.17, "hook_strength": 0.5573, "zero_fluff": 1.0, "code_first": 0.5576, "cadence": 1.0, "p_hemanth": 0.6934}, "split_hint": "val"}
{"id": "blog_download-from-youtube", "slug": "download-from-youtube", "task": "blog", "category": "javascript", "title": "Download from youtube", "tags": ["programming"], "prompt": "<|task:blog|>\nTitle: Download from youtube\nCategory: javascript\nTags: programming\nSummary: Application that downloads YouTube videos, then encodes them by using FFmpeg. PyTube offers a thumbnail preview of the in JS.\n<|hemanth|>\n", "input_text": "Download from youtube (javascript): Application that downloads YouTube videos, then encodes them by using FFmpeg. PyTube offers a thumbnail preview of the in JS.", "target_text": "Application that downloads YouTube videos, then encodes them by using FFmpeg. PyTube offers a thumbnail preview of the online videos you import and arranges them in a drop-down list.\nGUI for various command-line tools such as ffmpeg and others. It allows you to resize, rotate, apply an external mp3 into a video, generate a 10 to 30 seconds mp3 ring tone !!\n\n[](http://3.bp.blogspot.com/_Uhgj641O9MY/SS-fu9HS8iI/AAAAAAAAAxk/i6tr4sn-I5A/s1600-h/pytube.jpeg)\n{click to see larger image}\n\nAll you need to do is install this : [http://neacm.fe.up.pt/pub/getdeb/ubuntu/hardy/py/pytube_0.0.11.4~getdeb1_all.deb](http://neacm.fe.up.pt/pub/getdeb/ubuntu/hardy/py/pytube_0.0.11.4%7Egetdeb1_all.deb)\n\n[\n](http://tcnologic.files.wordpress.com/2008/02/pytube.jpeg)", "is_hemanth_target": 1, "style_metrics": {"directness": 0.4411, "hook_strength": 0.5982, "zero_fluff": 1.0, "code_first": 0.4511, "cadence": 0.8286, "p_hemanth": 0.748}, "split_hint": "val"}
{"id": "social_download-from-youtube", "slug": "download-from-youtube", "task": "social", "category": "javascript", "title": "Download from youtube", "prompt": "<|task:social|>\nTitle: Download from youtube\nCategory: javascript\nPost:\nApplication that downloads YouTube videos, then encodes them by using FFmpeg. PyTube offers a thumbnail preview of the online videos you import and arranges them in a drop-down list.\nGUI for various command-line tools such as ffmpeg and others. It allows you to resize, rotate, apply an external mp3 into a video, generate a 10 to 30 seconds mp3 ring tone !!\n\n[](http://3.bp.blogspot.com/_Uhgj641O9MY/SS-fu9HS8iI/AAAAAAAAAxk/i6tr4sn-I5A/s1600-h/pytube.jpeg)\n{click to see larger image}\n\nAll you need \n<|hemanth|>\n", "input_text": "Download from youtube\nApplication that downloads YouTube videos, then encodes them by using FFmpeg. PyTube offers a thumbnail preview of the online videos you import and arranges them in a drop-down list.\nGUI for various command-line tools such as ffmpeg and others. It allows you to resize, rotate, apply an external mp3 into a video, generate a 10 to 30 seconds mp3 ring tone !!\n\n[](http://3.bp.blogspot.com/_Uhgj641O9MY/SS-fu9HS8iI/AAAAAAAAAxk/i6tr4sn-I5A/s1600-h/pytube.jpeg)\n{click to see larger image}\n\nAll you need ", "target_text": "### LinkedIn\nDownload from youtube\n\nApplication that downloads YouTube videos, then encodes them by using FFmpeg. PyTube offers a thumbnail preview of the online videos you import and arranges them in a drop-down list. GUI for...\n\n• Problem: Application that downloads YouTube videos, then encodes them by using FFmpeg. PyTube offers a thumbnail preview of the in JS.\n• Takeaway: [](http://3.bp.blogspot.com/_Uhgj641O9MY/SS-fu9HS8iI/AAAAAAAAAxk/i6tr4sn-I5A/s1600-h/pytube.jpeg) {click to see larger image}\n\nFull breakdown: https://h3manth.com/scribe/download-from-youtube/\n\n#Programming\n\n### Hacker News\nTitle: Download from youtube\n\nApplication that downloads YouTube videos, then encodes them by using FFmpeg. PyTube offers a thumbnail preview of the online videos you import and arranges them in a drop-down list. GUI for...\n\n[](http://3.bp.blogspot.com/_Uhgj641O9MY/SS-fu9HS8iI/AAAAAAAAAxk/i6tr4sn-I5A/s1600-h/pytube.jpeg) {click to see larger image}\n\nPost: https://h3manth.com/scribe/download-from-youtube/\n\n### Reddit\nTitle: Download from youtube\n\nTL;DR:\n- Application that downloads YouTube videos, then encodes them by using FFmpeg. PyTube offers a thumbnail preview of the online videos you import and arranges them in a drop-down list. GUI for...\n- [](http://3.bp.blogspot.com/_Uhgj641O9MY/SS-fu9HS8iI/AAAAAAAAAxk/i6tr4sn-I5A/s1600-h/pytube.jpeg) {click to see larger image}\n\nBlog: https://h3manth.com/scribe/download-from-youtube/", "is_hemanth_target": 1, "style_metrics": {"directness": 0.7023, "hook_strength": 0.77, "zero_fluff": 1.0, "code_first": 0.6389, "cadence": 1.0, "p_hemanth": 0.9259}, "split_hint": "val"}
{"id": "social_scripting-101-reddit-course", "slug": "scripting-101-reddit-course", "task": "social", "category": "python", "title": "Scripting 101 Reddit Course", "prompt": "<|task:social|>\nTitle: Scripting 101 Reddit Course\nCategory: python\nPost:\n## \"Teaching is the best way to learn\". Indeed very true, realized this as i started a course in reddit university.\n\n_\"The University of Reddit is the product of free intellectualism and is a haven for the sharing of knowledge. Teachers and students are free to explore any subject that interests them.\"_\n\nI started mentoring this course on scripting 101 on _15.00 Sat Jul 9 15:00:00 UTC 2010_ which is all about using bash, python, perl, ruby, php and many other scripting languages in day to day t\n<|hemanth|>\n", "input_text": "Scripting 101 Reddit Course\n## \"Teaching is the best way to learn\". Indeed very true, realized this as i started a course in reddit university.\n\n_\"The University of Reddit is the product of free intellectualism and is a haven for the sharing of knowledge. Teachers and students are free to explore any subject that interests them.\"_\n\nI started mentoring this course on scripting 101 on _15.00 Sat Jul 9 15:00:00 UTC 2010_ which is all about using bash, python, perl, ruby, php and many other scripting languages in day to day t", "target_text": "### LinkedIn\nScripting 101 Reddit Course\n\n## \"Teaching is the best way to learn\". Indeed very true, realized this as i started a course in reddit university.\n\n• Problem: ’The University of Reddit is the product of free intellectualism and is a haven for the sharing of knowledge. Teachers and.\n• Takeaway: _\"The University of Reddit is the product of free intellectualism and is a haven for the sharing of knowledge. Teachers and students are free to explore any subject that...\n\nFull breakdown: https://h3manth.com/scribe/scripting-101-reddit-course/\n\n#Ruby #Python #Bash #Web\n\n### Hacker News\nTitle: Scripting 101 Reddit Course\n\n## \"Teaching is the best way to learn\". Indeed very true, realized this as i started a course in reddit university.\n\n_\"The University of Reddit is the product of free intellectualism and is a haven for the sharing of knowledge. Teachers and students are free to explore any subject that...\n\nPost: https://h3manth.com/scribe/scripting-101-reddit-course/\n\n### Reddit\nTitle: Scripting 101 Reddit Course\n\nTL;DR:\n- ## \"Teaching is the best way to learn\". Indeed very true, realized this as i started a course in reddit university.\n- _\"The University of Reddit is the product of free intellectualism and is a haven for the sharing of knowledge. Teachers and students are free to explore any subject that...\n\nBlog: https://h3manth.com/scribe/scripting-101-reddit-course/", "is_hemanth_target": 1, "style_metrics": {"directness": 0.8141, "hook_strength": 0.77, "zero_fluff": 1.0, "code_first": 0.6389, "cadence": 0.8986, "p_hemanth": 0.9331}, "split_hint": "val"}
{"id": "blog_publish-packages-to-npm-with-yeoman", "slug": "publish-packages-to-npm-with-yeoman", "task": "blog", "category": "node", "title": "Publish Packages to NPM with Yeoman", "tags": ["node", "npm", "yeoman"], "prompt": "<|task:blog|>\nTitle: Publish Packages to NPM with Yeoman\nCategory: node\nTags: node, npm, yeoman\nSummary: Using Yeoman’s generator-node to create and publish npm packages. Practical notes and code examples on Publish Packages to.\n<|hemanth|>\n", "input_text": "Publish Packages to NPM with Yeoman (node): Using Yeoman’s generator-node to create and publish npm packages. Practical notes and code examples on Publish Packages to.", "target_text": "[Yeoman](http://yeoman.io/) makes creating and maintaining node packages easy with [generator-node](https://github.com/yeoman/generator-node).\n\n## Getting Started\n\n```bash\nnpm install -g generator-node\nmkdir exmp && cd $_\nyo node\n\nAnswer the prompts and get a complete scaffold:\n\ncreate lib/exmp.js\ncreate test/exmp_test.js\ncreate .jshintrc\ncreate .gitignore\ncreate .travis.yml\ncreate README.md\ncreate Gruntfile.js\ncreate package.json\n\n## Directory Structure\n\n.\n├── Gruntfile.js\n├── README.md\n├── lib\n│ └── exmp.js\n├── package.json\n└── test\n └── exmp_test.js\n```\n\nThe Gruntfile's default task is `['jshint', 'nodeunit']` with [nodeunit](https://github.com/caolan/nodeunit) for testing.", "is_hemanth_target": 1, "style_metrics": {"directness": 0.6053, "hook_strength": 0.77, "zero_fluff": 1.0, "code_first": 1.0, "cadence": 0.6941, "p_hemanth": 0.9206}, "split_hint": "val"}
{"id": "rewrite_setup-diaspora-ubuntu", "slug": "setup-diaspora-ubuntu", "task": "rewrite", "category": "linux", "title": "Setup Diaspora on Ubuntu", "prompt": "<|task:rewrite|>\nTopic: Setup Diaspora on Ubuntu\nDraft:\nIn today's rapidly evolving linux landscape, developers and organizations frequently encounter multifaceted challenges regarding Setup Diaspora on Ubuntu. Specifically, when delving into this paradigm, it is important to comprehensively evaluate the following technical context: ## Diaspora => The privacy aware, personally controlled, do-it-all, open source social network. Was seeing lot of people facing issues to in set up, including me at the beginning, so i thought to make a setup script for ubuntu os,which can be cloned from my repo [[ Mentioned below ]]. I have tested it to the max i could, still it might not be fool proof, d Furthermore, leveraging a holistic methodology facilitates seamless developer productivity.\n<|hemanth|>\n", "input_text": "In today's rapidly evolving linux landscape, developers and organizations frequently encounter multifaceted challenges regarding Setup Diaspora on Ubuntu. Specifically, when delving into this paradigm, it is important to comprehensively evaluate the following technical context: ## Diaspora => The privacy aware, personally controlled, do-it-all, open source social network. Was seeing lot of people facing issues to in set up, including me at the beginning, so i thought to make a setup script for ubuntu os,which can be cloned from my repo [[ Mentioned below ]]. I have tested it to the max i could, still it might not be fool proof, d Furthermore, leveraging a holistic methodology facilitates seamless developer productivity.", "target_text": "## Diaspora => The privacy aware, personally controlled, do-it-all, open source social network.\n\nWas seeing lot of people facing issues to in set up, including me at the beginning, so i thought to make a setup script for ubuntu os,which can be cloned from my repo [[ Mentioned below ]].\n\nI have tested it to the max i could, still it might not be fool proof, do try and let me know if you find any bugs.", "is_hemanth_target": 1, "style_metrics": {"directness": 0.4144, "hook_strength": 0.77, "zero_fluff": 1.0, "code_first": 0.35, "cadence": 1.0, "p_hemanth": 0.8025}, "draft_metrics": {"directness": 0.3435, "hook_strength": 0.5125, "zero_fluff": 0.1293, "code_first": 0.35, "cadence": 0.824, "p_hemanth": 0.1677}, "split_hint": "val"}
{"id": "social_parsing-query-string-javascript", "slug": "parsing-query-string-javascript", "task": "social", "category": "javascript", "title": "Parsing Query String in Javascript", "prompt": "<|task:social|>\nTitle: Parsing Query String in Javascript\nCategory: javascript\nPost:\nWell there are hell lot of solution out there for parsing query strings in javascript, but still /me managed to make my own function!\n\nparams = (function () {\n \n \n res = {};\n \n window.location.search.replace(\"?\",\"\").split('&').map(\n \n function (q) {\n var v = q.split('=');\n res[v[0]] = v[1];\n });\n \n return res;\n \n\n})();\n<|hemanth|>\n", "input_text": "Parsing Query String in Javascript\nWell there are hell lot of solution out there for parsing query strings in javascript, but still /me managed to make my own function!\n\nparams = (function () {\n \n \n res = {};\n \n window.location.search.replace(\"?\",\"\").split('&').map(\n \n function (q) {\n var v = q.split('=');\n res[v[0]] = v[1];\n });\n \n return res;\n \n\n})();", "target_text": "### LinkedIn\nParsing Query String in Javascript\n\nWell there are hell lot of solution out there for parsing query strings in javascript, but still /me managed to make my own function!\n\n• Problem: Well there are hell lot of solution out there for parsing query strings in javascript, but still /me managed to make my own.\n• Takeaway: params = (function () {\n\nFull breakdown: https://h3manth.com/scribe/parsing-query-string-javascript/\n\n#Javascript #Web\n\n### Hacker News\nTitle: Parsing Query String in Javascript\n\nWell there are hell lot of solution out there for parsing query strings in javascript, but still /me managed to make my own function!\n\nparams = (function () {\n\nPost: https://h3manth.com/scribe/parsing-query-string-javascript/\n\n### Reddit\nTitle: Parsing Query String in Javascript\n\nTL;DR:\n- Well there are hell lot of solution out there for parsing query strings in javascript, but still /me managed to make my own function!\n- params = (function () {\n\nBlog: https://h3manth.com/scribe/parsing-query-string-javascript/", "is_hemanth_target": 1, "style_metrics": {"directness": 0.284, "hook_strength": 0.77, "zero_fluff": 1.0, "code_first": 0.6389, "cadence": 1.0, "p_hemanth": 0.8279}, "split_hint": "val"}
{"id": "critic_neg_nth-child-css-pseudo-class-christmas-colors", "slug": "nth-child-css-pseudo-class-christmas-colors", "task": "critic", "category": "web", "title": "Nth-child CSS Pseudo-class Christmas Colors", "prompt": "<|task:critic|>\nText:\nIn today's rapidly evolving web landscape, developers and organizations frequently encounter multifaceted challenges regarding Nth-child CSS Pseudo-class Christmas Colors. Specifically, when delving into this paradigm, it is important to comprehensively evaluate the following technical context: Lately /me noticed HN using Christmas color scheme for their post numbering, but the source sadly read `<font color=\"#be2828\">1.</font>` below is some silly code emulating the same behavior without font tag indeed! nth-child CSS pesudo-class syntax is pretty simple : `element:nth-child(an + b) { style properties }` that is matches an element that has `an+b- Furthermore, leveraging a holistic methodology facilitates seamless developer productivity.\n<|hemanth|>\n", "input_text": "In today's rapidly evolving web landscape, developers and organizations frequently encounter multifaceted challenges regarding Nth-child CSS Pseudo-class Christmas Colors. Specifically, when delving into this paradigm, it is important to comprehensively evaluate the following technical context: Lately /me noticed HN using Christmas color scheme for their post numbering, but the source sadly read `<font color=\"#be2828\">1.</font>` below is some silly code emulating the same behavior without font tag indeed! nth-child CSS pesudo-class syntax is pretty simple : `element:nth-child(an + b) { style properties }` that is matches an element that has `an+b- Furthermore, leveraging a holistic methodology facilitates seamless developer productivity.", "target_text": "verdict: needs_hemanth_rewrite (p_hemanth=0.33)\ndirectness=0.17 | hook=0.51 | zero_fluff=0.12 | code_first=1.00 | cadence=1.00\nnotes: Cut filler ('multifaceted', 'delving', 'paradigm', 'holistic'). Lead with a 1-sentence hook and a concrete code or metric example.", "is_hemanth_target": 0, "style_metrics": {"directness": 0.17, "hook_strength": 0.5125, "zero_fluff": 0.1221, "code_first": 1.0, "cadence": 1.0, "p_hemanth": 0.3286}, "split_hint": "val"}
{"id": "rewrite_nth-child-css-pseudo-class-christmas-colors", "slug": "nth-child-css-pseudo-class-christmas-colors", "task": "rewrite", "category": "web", "title": "Nth-child CSS Pseudo-class Christmas Colors", "prompt": "<|task:rewrite|>\nTopic: Nth-child CSS Pseudo-class Christmas Colors\nDraft:\nIn today's rapidly evolving web landscape, developers and organizations frequently encounter multifaceted challenges regarding Nth-child CSS Pseudo-class Christmas Colors. Specifically, when delving into this paradigm, it is important to comprehensively evaluate the following technical context: Lately /me noticed HN using Christmas color scheme for their post numbering, but the source sadly read `<font color=\"#be2828\">1.</font>` below is some silly code emulating the same behavior without font tag indeed! nth-child CSS pesudo-class syntax is pretty simple : `element:nth-child(an + b) { style properties }` that is matches an element that has `an+b- Furthermore, leveraging a holistic methodology facilitates seamless developer productivity.\n<|hemanth|>\n", "input_text": "In today's rapidly evolving web landscape, developers and organizations frequently encounter multifaceted challenges regarding Nth-child CSS Pseudo-class Christmas Colors. Specifically, when delving into this paradigm, it is important to comprehensively evaluate the following technical context: Lately /me noticed HN using Christmas color scheme for their post numbering, but the source sadly read `<font color=\"#be2828\">1.</font>` below is some silly code emulating the same behavior without font tag indeed! nth-child CSS pesudo-class syntax is pretty simple : `element:nth-child(an + b) { style properties }` that is matches an element that has `an+b- Furthermore, leveraging a holistic methodology facilitates seamless developer productivity.", "target_text": "Lately /me noticed HN using Christmas color scheme for their post numbering, but the source sadly read `<font color=\"#be2828\">1.</font>` below is some silly code emulating the same behavior without font tag indeed!\n\nnth-child CSS pesudo-class syntax is pretty simple : `element:nth-child(an + b) { style properties }` that is matches an element that has `an+b-1` siblings before it in the document tree, for a given positive or zero value for `n`, and has a parent element.\n\nSo we want the Christmas coloring for ul, we can code as below :", "is_hemanth_target": 1, "style_metrics": {"directness": 0.2071, "hook_strength": 0.9527, "zero_fluff": 1.0, "code_first": 1.0, "cadence": 1.0, "p_hemanth": 0.9082}, "draft_metrics": {"directness": 0.17, "hook_strength": 0.5125, "zero_fluff": 0.1221, "code_first": 1.0, "cadence": 1.0, "p_hemanth": 0.3286}, "split_hint": "val"}
{"id": "rewrite_grunt-usemin-example", "slug": "grunt-usemin-example", "task": "rewrite", "category": "tools", "title": "grunt-usemin Example", "prompt": "<|task:rewrite|>\nTopic: grunt-usemin Example\nDraft:\nIn today's rapidly evolving tools landscape, developers and organizations frequently encounter multifaceted challenges regarding grunt-usemin Example. Specifically, when delving into this paradigm, it is important to comprehensively evaluate the following technical context: Minimal [grunt-usemin](https://github.com/yeoman/grunt-usemin) usage example. ## HTML Build Blocks ```html <!-- build:css assets/css/style.min.css --> <link rel=\"stylesheet\" href=\"./assets/css/styles.css\" /> <!-- endbuild --> Furthermore, leveraging a holistic methodology facilitates seamless developer productivity.\n<|hemanth|>\n", "input_text": "In today's rapidly evolving tools landscape, developers and organizations frequently encounter multifaceted challenges regarding grunt-usemin Example. Specifically, when delving into this paradigm, it is important to comprehensively evaluate the following technical context: Minimal [grunt-usemin](https://github.com/yeoman/grunt-usemin) usage example. ## HTML Build Blocks ```html <!-- build:css assets/css/style.min.css --> <link rel=\"stylesheet\" href=\"./assets/css/styles.css\" /> <!-- endbuild --> Furthermore, leveraging a holistic methodology facilitates seamless developer productivity.", "target_text": "Minimal [grunt-usemin](https://github.com/yeoman/grunt-usemin) usage example.\n\n## HTML Build Blocks\n\n```html\n<!-- build:css assets/css/style.min.css -->\n<link rel=\"stylesheet\" href=\"./assets/css/styles.css\" />\n<!-- endbuild -->", "is_hemanth_target": 1, "style_metrics": {"directness": 0.7362, "hook_strength": 0.77, "zero_fluff": 1.0, "code_first": 0.35, "cadence": 0.8824, "p_hemanth": 0.8774}, "draft_metrics": {"directness": 0.4362, "hook_strength": 0.61, "zero_fluff": 0.05, "code_first": 0.35, "cadence": 0.7733, "p_hemanth": 0.1837}, "split_hint": "val"}
{"id": "critic_neg_how-get-info-about-all-nodes-network-ssh", "slug": "how-get-info-about-all-nodes-network-ssh", "task": "critic", "category": "linux", "title": "How to Get Info About All the Nodes in the Network via SSH ?", "prompt": "<|task:critic|>\nText:\nIn today's rapidly evolving linux landscape, developers and organizations frequently encounter multifaceted challenges regarding How to Get Info About All the Nodes in the Network via SSH ?. Specifically, when delving into this paradigm, it is important to comprehensively evaluate the following technical context: **Logic:** _1\\. Checking if the host is alive. 2\\. Getting info about them, via remote commands._ **Steps:** _1\\. Prepare password free SSH access. 2\\. Make a simple script to get host info._ **Prepare password free SSH access:** `$ssh-copy-id user@host` or cat ~/.ssh/id_dsa.pub | ssh user@remotehost 'cat >> ~/.ssh/authorized_keys Furthermore, leveraging a holistic methodology facilitates seamless developer productivity.\n<|hemanth|>\n", "input_text": "In today's rapidly evolving linux landscape, developers and organizations frequently encounter multifaceted challenges regarding How to Get Info About All the Nodes in the Network via SSH ?. Specifically, when delving into this paradigm, it is important to comprehensively evaluate the following technical context: **Logic:** _1\\. Checking if the host is alive. 2\\. Getting info about them, via remote commands._ **Steps:** _1\\. Prepare password free SSH access. 2\\. Make a simple script to get host info._ **Prepare password free SSH access:** `$ssh-copy-id user@host` or cat ~/.ssh/id_dsa.pub | ssh user@remotehost 'cat >> ~/.ssh/authorized_keys Furthermore, leveraging a holistic methodology facilitates seamless developer productivity.", "target_text": "verdict: needs_hemanth_rewrite (p_hemanth=0.36)\ndirectness=0.80 | hook=0.51 | zero_fluff=0.12 | code_first=0.61 | cadence=0.52\nnotes: Cut filler ('multifaceted', 'delving', 'paradigm', 'holistic'). Lead with a 1-sentence hook and a concrete code or metric example.", "is_hemanth_target": 0, "style_metrics": {"directness": 0.8016, "hook_strength": 0.5125, "zero_fluff": 0.1245, "code_first": 0.6059, "cadence": 0.52, "p_hemanth": 0.3569}, "split_hint": "val"}
{"id": "social_figlr-ascii-art-fly", "slug": "figlr-ascii-art-fly", "task": "social", "category": "javascript", "title": "Figlr ASCII Art on Fly", "prompt": "<|task:social|>\nTitle: Figlr ASCII Art on Fly\nCategory: javascript\nPost:\nFiglr is a simple fun tool to generate FIGlet text. Those are normally used to make ASCII art banners.\n\nIt makes use of Figlet-JS which is a JavaScript implementation of a FIGdriver and is also available as a Node module and a jQuery plugin.\n\n**The code :** The code is a simple javascript trick, to listen on the paste and keyup events from a text area and populate a pre tag with the FIGlet text.\n \n \n $(function(){\n $('#fig').live('keyup paste',function(evt){\n $\n<|hemanth|>\n", "input_text": "Figlr ASCII Art on Fly\nFiglr is a simple fun tool to generate FIGlet text. Those are normally used to make ASCII art banners.\n\nIt makes use of Figlet-JS which is a JavaScript implementation of a FIGdriver and is also available as a Node module and a jQuery plugin.\n\n**The code :** The code is a simple javascript trick, to listen on the paste and keyup events from a text area and populate a pre tag with the FIGlet text.\n \n \n $(function(){\n $('#fig').live('keyup paste',function(evt){\n $", "target_text": "### LinkedIn\nFiglr ASCII Art on Fly\n\nFiglr is a simple fun tool to generate FIGlet text. Those are normally used to make ASCII art banners.\n\n• Problem: Figlr is a simple fun tool to generate FIGlet text. Those are normally used to make ASCII art banners. It makes use of in JS.\n• Takeaway: It makes use of Figlet-JS which is a JavaScript implementation of a FIGdriver and is also available as a Node module and a jQuery plugin.\n\nFull breakdown: https://h3manth.com/scribe/figlr-ascii-art-fly/\n\n#Javascript #Web\n\n### Hacker News\nTitle: Figlr ASCII Art on Fly\n\nFiglr is a simple fun tool to generate FIGlet text. Those are normally used to make ASCII art banners.\n\nIt makes use of Figlet-JS which is a JavaScript implementation of a FIGdriver and is also available as a Node module and a jQuery plugin.\n\nPost: https://h3manth.com/scribe/figlr-ascii-art-fly/\n\n### Reddit\nTitle: Figlr ASCII Art on Fly\n\nTL;DR:\n- Figlr is a simple fun tool to generate FIGlet text. Those are normally used to make ASCII art banners.\n- It makes use of Figlet-JS which is a JavaScript implementation of a FIGdriver and is also available as a Node module and a jQuery plugin.\n\nBlog: https://h3manth.com/scribe/figlr-ascii-art-fly/", "is_hemanth_target": 1, "style_metrics": {"directness": 0.7638, "hook_strength": 0.77, "zero_fluff": 1.0, "code_first": 0.6389, "cadence": 0.9919, "p_hemanth": 0.9342}, "split_hint": "val"}
{"id": "blog_creating-self-extracting-sources-files", "slug": "creating-self-extracting-sources-files", "task": "blog", "category": "linux", "title": "Creating Self-Extracting Sources Files", "tags": ["bash"], "prompt": "<|task:blog|>\nTitle: Creating Self-Extracting Sources Files\nCategory: linux\nTags: bash\nSummary: The idea is pretty simple : Embed all your tgz’s below a place holder and count the lines to get each tgz and pipe tail and.\n<|hemanth|>\n", "input_text": "Creating Self-Extracting Sources Files (linux): The idea is pretty simple : Embed all your tgz’s below a place holder and count the lines to get each tgz and pipe tail and.", "target_text": "The idea is pretty simple : Embed all your tgz's below a place holder and count the lines to get each tgz and pipe tail and tar to extract them to required folder.\n\n**Steps**\n\n**Step I** _Make a tgz file with all the source you have_ Assuming we call the folder to be source, so the compressed file must be source.tgz and the source might contain any extractable files, even simple shell scripts. Lets assume that our source folder has a build.sh script which takes care of installing each and every source.\n\n**Step 2** _Make an extractor script as below_ **``**\n\n## !/bin/bash\n\n## Author : Hemanth\n\necho \"\" echo \"Self Extracting Files\" echo \"\" echo \"\" echo \"Extracting file into `pwd`/source\"\n\n## Count for source list\n\nCOUNT=`awk '/^__SOURCE__/ { print NR + 1; exit 0; }' $0`\n\n## The current file\n\nFILE=`pwd`/$0\n\n## take the tarfile and pipe it into tar\n\ntail -n+$COUNT $FILE | tar -xz\n\necho \"Finished\" cd sources\n\n## build.sh to build and install the sources as per your need\n\n./build.sh\n\n## Remove the source folder\n\ncd .. ; rm -rf sources exit 0\n\n**SOURCE**\n\n**Step 3** _Final move_ Make the file ready, that is embed the tgz below the extractor.sh **`cat source.tgz extractor.sh> install.sh ` *", "is_hemanth_target": 1, "style_metrics": {"directness": 0.17, "hook_strength": 0.9409, "zero_fluff": 1.0, "code_first": 1.0, "cadence": 1.0, "p_hemanth": 0.899}, "split_hint": "val"}
{"id": "critic_pos_creating-self-extracting-sources-files", "slug": "creating-self-extracting-sources-files", "task": "critic", "category": "linux", "title": "Creating Self-Extracting Sources Files", "prompt": "<|task:critic|>\nText:\nThe idea is pretty simple : Embed all your tgz's below a place holder and count the lines to get each tgz and pipe tail and tar to extract them to required folder.\n\n**Steps**\n\n**Step I** _Make a tgz file with all the source you have_ Assuming we call the folder to be source, so the compressed file must be source.tgz and the source might contain any extractable files, even simple shell scripts. Lets assume that our source folder has a build.sh script which takes care of installing each and every \n<|hemanth|>\n", "input_text": "The idea is pretty simple : Embed all your tgz's below a place holder and count the lines to get each tgz and pipe tail and tar to extract them to required folder.\n\n**Steps**\n\n**Step I** _Make a tgz file with all the source you have_ Assuming we call the folder to be source, so the compressed file must be source.tgz and the source might contain any extractable files, even simple shell scripts. Lets assume that our source folder has a build.sh script which takes care of installing each and every ", "target_text": "verdict: authentic_hemanth_voice (p_hemanth=0.90)\ndirectness=0.17 | hook=0.94 | zero_fluff=1.00 | code_first=1.00 | cadence=1.00\nnotes: Punchy practitioner hook, zero corporate filler, concrete examples.", "is_hemanth_target": 1, "style_metrics": {"directness": 0.17, "hook_strength": 0.9409, "zero_fluff": 1.0, "code_first": 1.0, "cadence": 1.0, "p_hemanth": 0.899}, "split_hint": "val"}
{"id": "critic_pos_nth-child-css-pseudo-class-christmas-colors", "slug": "nth-child-css-pseudo-class-christmas-colors", "task": "critic", "category": "web", "title": "Nth-child CSS Pseudo-class Christmas Colors", "prompt": "<|task:critic|>\nText:\nLately /me noticed HN using Christmas color scheme for their post numbering, but the source sadly read `<font color=\"#be2828\">1.</font>` below is some silly code emulating the same behavior without font tag indeed!\n\nnth-child CSS pesudo-class syntax is pretty simple : `element:nth-child(an + b) { style properties }` that is matches an element that has `an+b-1` siblings before it in the document tree, for a given positive or zero value for `n`, and has a parent element.\n\nSo we want the Christmas \n<|hemanth|>\n", "input_text": "Lately /me noticed HN using Christmas color scheme for their post numbering, but the source sadly read `<font color=\"#be2828\">1.</font>` below is some silly code emulating the same behavior without font tag indeed!\n\nnth-child CSS pesudo-class syntax is pretty simple : `element:nth-child(an + b) { style properties }` that is matches an element that has `an+b-1` siblings before it in the document tree, for a given positive or zero value for `n`, and has a parent element.\n\nSo we want the Christmas ", "target_text": "verdict: authentic_hemanth_voice (p_hemanth=0.95)\ndirectness=0.49 | hook=0.95 | zero_fluff=1.00 | code_first=1.00 | cadence=1.00\nnotes: Punchy practitioner hook, zero corporate filler, concrete examples.", "is_hemanth_target": 1, "style_metrics": {"directness": 0.4907, "hook_strength": 0.9527, "zero_fluff": 1.0, "code_first": 1.0, "cadence": 1.0, "p_hemanth": 0.9497}, "split_hint": "val"}
{"id": "blog_sublime-text-build-system-errno-2", "slug": "sublime-text-build-system-errno-2", "task": "blog", "category": "web", "title": "Sublime Text Build System Errno 2", "tags": ["cli", "sublime"], "prompt": "<|task:blog|>\nTitle: Sublime Text Build System Errno 2\nCategory: web\nTags: cli, sublime\nSummary: Fixing the Errno 2 issue in Sublime Text build systems. Practical notes and code examples on Sublime Text Build System Errno.\n<|hemanth|>\n", "input_text": "Sublime Text Build System Errno 2 (web): Fixing the Errno 2 issue in Sublime Text build systems. Practical notes and code examples on Sublime Text Build System Errno.", "target_text": "While working on the [yeoman-sublime-plugin](https://github.com/yeoman/sublime-plugin/), I faced `[Errno 2] No such file or directory`.\n\n## The Solution\n\n```json\n{\n \"working_dir\": \"${project_path:${folder}}\",\n \"path\": \"$HOME/bin:/usr/local/bin:$PATH\",\n \"cmd\": [\"sh\", \"-c\", \"npm install && bower install\"]\n}\n```\n\nThe trick was starting the shell with `sh -c`!", "is_hemanth_target": 1, "style_metrics": {"directness": 0.7035, "hook_strength": 1.0, "zero_fluff": 1.0, "code_first": 1.0, "cadence": 0.6471, "p_hemanth": 0.9526}, "split_hint": "val"}
{"id": "critic_neg_word-frequency-mapreduce-python", "slug": "word-frequency-mapreduce-python", "task": "critic", "category": "web", "title": "Word Frequency With Mapreduce in Python", "prompt": "<|task:critic|>\nText:\nIn today's rapidly evolving web landscape, developers and organizations frequently encounter multifaceted challenges regarding Word Frequency With Mapreduce in Python. Specifically, when delving into this paradigm, it is important to comprehensively evaluate the following technical context: \"**MapReduce** is a programming framework popularized by Google and used to simplify data processing across massive data sets. As people rapidly increase their online activity and digital footprint, organizations are finding it vital to quickly analyze the huge amounts of data their customers and audiences generate to better understand and serve them.\" The Furthermore, leveraging a holistic methodology facilitates seamless developer productivity.\n<|hemanth|>\n", "input_text": "In today's rapidly evolving web landscape, developers and organizations frequently encounter multifaceted challenges regarding Word Frequency With Mapreduce in Python. Specifically, when delving into this paradigm, it is important to comprehensively evaluate the following technical context: \"**MapReduce** is a programming framework popularized by Google and used to simplify data processing across massive data sets. As people rapidly increase their online activity and digital footprint, organizations are finding it vital to quickly analyze the huge amounts of data their customers and audiences generate to better understand and serve them.\" The Furthermore, leveraging a holistic methodology facilitates seamless developer productivity.", "target_text": "verdict: needs_hemanth_rewrite (p_hemanth=0.14)\ndirectness=0.17 | hook=0.51 | zero_fluff=0.10 | code_first=0.35 | cadence=1.00\nnotes: Cut filler ('multifaceted', 'delving', 'paradigm', 'holistic'). Lead with a 1-sentence hook and a concrete code or metric example.", "is_hemanth_target": 0, "style_metrics": {"directness": 0.17, "hook_strength": 0.5125, "zero_fluff": 0.103, "code_first": 0.35, "cadence": 1.0, "p_hemanth": 0.1405}, "split_hint": "val"}
{"id": "blog_ucpify-json-to-commerce-server", "slug": "ucpify-json-to-commerce-server", "task": "blog", "category": "javascript", "title": "ucpify: JSON → Commerce Server in Seconds", "tags": ["javascript", "python", "ucp", "commerce", "agentic"], "prompt": "<|task:blog|>\nTitle: ucpify: JSON → Commerce Server in Seconds\nCategory: javascript\nTags: javascript, python, ucp, commerce, agentic\nSummary: Generate a fully UCP-compliant commerce server from a single JSON config. Stripe, PayPal, SQLite, admin dashboard, all wired.\n<|hemanth|>\n", "input_text": "ucpify: JSON → Commerce Server in Seconds (javascript): Generate a fully UCP-compliant commerce server from a single JSON config. Stripe, PayPal, SQLite, admin dashboard, all wired.", "target_text": "Say you're a small business. You have a product catalog, maybe as a spreadsheet or a JSON file. You want to sell online. But building a commerce backend means dealing with payment APIs, database schemas, input validation, webhook handlers. That's a lot of engineering for \"I just want to sell t-shirts.\"\n\n**ucpify** takes a single JSON file with your products, shipping options, and payment config and gives you a fully working commerce server. UCP-compliant, Stripe and PayPal ready, SQLite persistence, admin dashboard. Node.js and Python.\n\n![ucpify architecture](../../assets/blog/ucpify-arch.png)\n\n## What is UCP?\n\nThe [Universal Commerce Protocol](https://ucp.dev) is an open standard for agentic commerce. It lets AI agents discover, browse, and complete purchases programmatically. Think of it as what OpenAPI did for REST, but for shopping flows.\n\nA UCP server exposes `/.well-known/ucp` for discovery, declares capabilities, and provides a structured checkout flow that any UCP-compatible agent can follow.\n\n## One JSON. Full Commerce.\n\nHere's all you need:\n\n![ucpify config](../../assets/blog/ucpify-config.png)\n\n```json\n{\n \"name\": \"My Store\",\n \"domain\": \"https://my-store.com\",\n \"curren", "is_hemanth_target": 1, "style_metrics": {"directness": 0.8796, "hook_strength": 0.4982, "zero_fluff": 1.0, "code_first": 0.5306, "cadence": 0.9808, "p_hemanth": 0.9057}, "split_hint": "val"}
{"id": "rewrite_portal-communication", "slug": "portal-communication", "task": "rewrite", "category": "web", "title": "Portal Communication", "prompt": "<|task:rewrite|>\nTopic: Portal Communication\nDraft:\nIn today's rapidly evolving web landscape, developers and organizations frequently encounter multifaceted challenges regarding Portal Communication. Specifically, when delving into this paradigm, it is important to comprehensively evaluate the following technical context: [Portals](https://wicg.github.io/portals) takes the best from SPA and MPA to provide users with a top level portal browsing context which can be embedded in an HTML document. A portal is similar to an iframe, in that it allows another browsing context to be embedded. However, the portal browsing context hosted by a portal is part of a separate unit of relat Furthermore, leveraging a holistic methodology facilitates seamless developer productivity.\n<|hemanth|>\n", "input_text": "In today's rapidly evolving web landscape, developers and organizations frequently encounter multifaceted challenges regarding Portal Communication. Specifically, when delving into this paradigm, it is important to comprehensively evaluate the following technical context: [Portals](https://wicg.github.io/portals) takes the best from SPA and MPA to provide users with a top level portal browsing context which can be embedded in an HTML document. A portal is similar to an iframe, in that it allows another browsing context to be embedded. However, the portal browsing context hosted by a portal is part of a separate unit of relat Furthermore, leveraging a holistic methodology facilitates seamless developer productivity.", "target_text": "[Portals](https://wicg.github.io/portals) takes the best from SPA and MPA to provide users with a top level portal browsing context which can be embedded in an HTML document.\n\nA portal is similar to an iframe, in that it allows another browsing context to be embedded. However, the portal browsing context hosted by a portal is part of a separate unit of related browsing contexts. The user agent is thus free to use a separate event loop for the browsing contexts, even if they are same origin-domain.\n\n## Communicating with Portals", "is_hemanth_target": 1, "style_metrics": {"directness": 0.6347, "hook_strength": 0.77, "zero_fluff": 1.0, "code_first": 0.35, "cadence": 0.9504, "p_hemanth": 0.8622}, "draft_metrics": {"directness": 0.368, "hook_strength": 0.5125, "zero_fluff": 0.1221, "code_first": 0.35, "cadence": 0.904, "p_hemanth": 0.1901}, "split_hint": "val"}
{"id": "blog_color-clock", "slug": "color-clock", "task": "blog", "category": "web", "title": "The Color Clock", "tags": ["git", "web"], "prompt": "<|task:blog|>\nTitle: The Color Clock\nCategory: web\nTags: git, web\nSummary: I came across the thecolourclock wanted to check out the source sadly it was build in flash so tired to make one with some.\n<|hemanth|>\n", "input_text": "The Color Clock (web): I came across the thecolourclock wanted to check out the source sadly it was build in flash so tired to make one with some.", "target_text": "I came across the [thecolourclock](http://thecolourclock.co.uk/) wanted to check out the source sadly it was build in ~~flash~~ so tired to make one with some HTML and JS. Check out [**thecolorclock**](http://h3manth.com/sites/files/colorclock.html). [See time in colors :)] The idea is to represent time as a hexadecimal color value.\n\n**Check out the code [Indeed view source ;) ] or :** ` Get the git clone or view the raw from [colorclock](https://github.com/hemanth/futhark/blob/master/colorclock.html) `\n\n_Do comment your suggestions and improvements /me not a good at look and feel :0)_", "is_hemanth_target": 1, "style_metrics": {"directness": 0.4335, "hook_strength": 0.7873, "zero_fluff": 1.0, "code_first": 1.0, "cadence": 1.0, "p_hemanth": 0.9258}, "split_hint": "val"}
{"id": "critic_neg_es6-on-nodejs", "slug": "es6-on-nodejs", "task": "critic", "category": "node", "title": "ES6 on Node.js", "prompt": "<|task:critic|>\nText:\nIn today's rapidly evolving node landscape, developers and organizations frequently encounter multifaceted challenges regarding ES6 on Node.js. Specifically, when delving into this paradigm, it is important to comprehensively evaluate the following technical context: Here I demonstrate ES6 (harmony) features using raw Node.js (v0.11.6). ## Enabling Harmony Features ```bash $ node --v8-options | grep harm --harmony_typeof --harmony_scoping --harmony_modules --harmony_symbols --harmony_proxies --harmony_collections --harmony_generators --harmony_iteration --harmony_numeric_literals --harmony_strings --harmony_arrays --ha Furthermore, leveraging a holistic methodology facilitates seamless developer productivity.\n<|hemanth|>\n", "input_text": "In today's rapidly evolving node landscape, developers and organizations frequently encounter multifaceted challenges regarding ES6 on Node.js. Specifically, when delving into this paradigm, it is important to comprehensively evaluate the following technical context: Here I demonstrate ES6 (harmony) features using raw Node.js (v0.11.6). ## Enabling Harmony Features ```bash $ node --v8-options | grep harm --harmony_typeof --harmony_scoping --harmony_modules --harmony_symbols --harmony_proxies --harmony_collections --harmony_generators --harmony_iteration --harmony_numeric_literals --harmony_strings --harmony_arrays --ha Furthermore, leveraging a holistic methodology facilitates seamless developer productivity.", "target_text": "verdict: needs_hemanth_rewrite (p_hemanth=0.17)\ndirectness=0.39 | hook=0.51 | zero_fluff=0.06 | code_first=0.35 | cadence=0.89\nnotes: Cut filler ('multifaceted', 'delving', 'paradigm', 'holistic'). Lead with a 1-sentence hook and a concrete code or metric example.", "is_hemanth_target": 0, "style_metrics": {"directness": 0.3925, "hook_strength": 0.5125, "zero_fluff": 0.0559, "code_first": 0.35, "cadence": 0.8901, "p_hemanth": 0.1712}, "split_hint": "val"}
{"id": "rewrite_getting-server-info-using-nodejs", "slug": "getting-server-info-using-nodejs", "task": "rewrite", "category": "nodejs", "title": "Getting server info using nodejs", "prompt": "<|task:rewrite|>\nTopic: Getting server info using nodejs\nDraft:\nIn today's rapidly evolving nodejs landscape, developers and organizations frequently encounter multifaceted challenges regarding Getting server info using nodejs. Specifically, when delving into this paradigm, it is important to comprehensively evaluate the following technical context: Getting server information using nodejs is very easy especially using the os module. Wrote a simple script to fetch **hostname, loadavg, uptime, freemem, totalmem, cpus, type, release, networkInterfaces, arch, platform, getNetworkInterfaces** from the server where the node is running. ** Below is the code to get the server info using nodejs :** Furthermore, leveraging a holistic methodology facilitates seamless developer productivity.\n<|hemanth|>\n", "input_text": "In today's rapidly evolving nodejs landscape, developers and organizations frequently encounter multifaceted challenges regarding Getting server info using nodejs. Specifically, when delving into this paradigm, it is important to comprehensively evaluate the following technical context: Getting server information using nodejs is very easy especially using the os module. Wrote a simple script to fetch **hostname, loadavg, uptime, freemem, totalmem, cpus, type, release, networkInterfaces, arch, platform, getNetworkInterfaces** from the server where the node is running. ** Below is the code to get the server info using nodejs :** Furthermore, leveraging a holistic methodology facilitates seamless developer productivity.", "target_text": "Getting server information using nodejs is very easy especially using the os module.\n\nWrote a simple script to fetch **hostname, loadavg, uptime, freemem, totalmem, cpus, type, release, networkInterfaces, arch, platform, getNetworkInterfaces** from the server where the node is running.\n\n** Below is the code to get the server info using nodejs :**", "is_hemanth_target": 1, "style_metrics": {"directness": 0.698, "hook_strength": 0.77, "zero_fluff": 1.0, "code_first": 0.35, "cadence": 0.8884, "p_hemanth": 0.8687}, "draft_metrics": {"directness": 0.4662, "hook_strength": 0.5125, "zero_fluff": 0.0936, "code_first": 0.35, "cadence": 0.6832, "p_hemanth": 0.1665}, "split_hint": "val"}
{"id": "blog_es6-on-nodejs", "slug": "es6-on-nodejs", "task": "blog", "category": "node", "title": "ES6 on Node.js", "tags": ["node", "javascript", "es6"], "prompt": "<|task:blog|>\nTitle: ES6 on Node.js\nCategory: node\nTags: node, javascript, es6\nSummary: Using ES6 harmony features in Node.js with --harmony flags. Practical notes and code examples on ES6 on Node.js by Hemanth.\n<|hemanth|>\n", "input_text": "ES6 on Node.js (node): Using ES6 harmony features in Node.js with --harmony flags. Practical notes and code examples on ES6 on Node.js by Hemanth.", "target_text": "Here I demonstrate ES6 (harmony) features using raw Node.js (v0.11.6).\n\n## Enabling Harmony Features\n\n```bash\n$ node --v8-options | grep harm\n--harmony_typeof\n--harmony_scoping\n--harmony_modules\n--harmony_symbols\n--harmony_proxies\n--harmony_collections\n--harmony_generators\n--harmony_iteration\n--harmony_numeric_literals\n--harmony_strings\n--harmony_arrays\n--harmony (enable all harmony features)\n\nEnable all features with strict mode:\nbash\n$ node --use-strict $(node --v8-options | grep harm | awk '{print $1}' | xargs)\n```\n\n## Block Scoping with `let`\n\n```javascript\nfunction aboutme() {\n {\n let gfs = 10;\n var wife = 1;\n }\n console.log(wife); // 1\n console.log(gfs); // ReferenceError: gfs is not defined\n}\n```\n\n`let` defines a variable in the current block, unlike `var` which is function-scoped.\n\n## Generators\n\nGenerators help build iterators. `yield` suspends execution:\n\n```javascript\nfunction* Counter() {\n var n = 0;\n while (1 < 2) {\n yield n;\n ++n;\n }\n}\n\nvar CountIter = new Counter();\nCountIter.next() // { value: 0, done: false }\nCountIter.next() // { value: 1, done: false }\n```\n\nThe `done` attribute will be `true` once the generator has nothing more to yield.", "is_hemanth_target": 1, "style_metrics": {"directness": 0.7853, "hook_strength": 0.77, "zero_fluff": 1.0, "code_first": 1.0, "cadence": 0.8908, "p_hemanth": 0.9586}, "split_hint": "val"}
{"id": "rewrite_ucpify-json-to-commerce-server", "slug": "ucpify-json-to-commerce-server", "task": "rewrite", "category": "javascript", "title": "ucpify: JSON → Commerce Server in Seconds", "prompt": "<|task:rewrite|>\nTopic: ucpify: JSON → Commerce Server in Seconds\nDraft:\nIn today's rapidly evolving javascript landscape, developers and organizations frequently encounter multifaceted challenges regarding ucpify: JSON → Commerce Server in Seconds. Specifically, when delving into this paradigm, it is important to comprehensively evaluate the following technical context: Say you're a small business. You have a product catalog, maybe as a spreadsheet or a JSON file. You want to sell online. But building a commerce backend means dealing with payment APIs, database schemas, input validation, webhook handlers. That's a lot of engineering for \"I just want to sell t-shirts.\" **ucpify** takes a single JSON file with your products, Furthermore, leveraging a holistic methodology facilitates seamless developer productivity.\n<|hemanth|>\n", "input_text": "In today's rapidly evolving javascript landscape, developers and organizations frequently encounter multifaceted challenges regarding ucpify: JSON → Commerce Server in Seconds. Specifically, when delving into this paradigm, it is important to comprehensively evaluate the following technical context: Say you're a small business. You have a product catalog, maybe as a spreadsheet or a JSON file. You want to sell online. But building a commerce backend means dealing with payment APIs, database schemas, input validation, webhook handlers. That's a lot of engineering for \"I just want to sell t-shirts.\" **ucpify** takes a single JSON file with your products, Furthermore, leveraging a holistic methodology facilitates seamless developer productivity.", "target_text": "Say you're a small business. You have a product catalog, maybe as a spreadsheet or a JSON file. You want to sell online. But building a commerce backend means dealing with payment APIs, database schemas, input validation, webhook handlers. That's a lot of engineering for \"I just want to sell t-shirts.\"\n\n**ucpify** takes a single JSON file with your products, shipping options, and payment config and gives you a fully working commerce server. UCP-compliant, Stripe and PayPal ready, SQLite persistence, admin dashboard. Node.js and Python.\n\n![ucpify architecture](../../assets/blog/ucpify-arch.png)", "is_hemanth_target": 1, "style_metrics": {"directness": 0.818, "hook_strength": 0.4982, "zero_fluff": 1.0, "code_first": 0.35, "cadence": 1.0, "p_hemanth": 0.865}, "draft_metrics": {"directness": 0.6489, "hook_strength": 0.5125, "zero_fluff": 0.1269, "code_first": 0.35, "cadence": 0.6282, "p_hemanth": 0.2332}, "split_hint": "val"}
{"id": "critic_neg_scripting-101-reddit-course", "slug": "scripting-101-reddit-course", "task": "critic", "category": "python", "title": "Scripting 101 Reddit Course", "prompt": "<|task:critic|>\nText:\nIn today's rapidly evolving python landscape, developers and organizations frequently encounter multifaceted challenges regarding Scripting 101 Reddit Course. Specifically, when delving into this paradigm, it is important to comprehensively evaluate the following technical context: ## \"Teaching is the best way to learn\". Indeed very true, realized this as i started a course in reddit university. _\"The University of Reddit is the product of free intellectualism and is a haven for the sharing of knowledge. Teachers and students are free to explore any subject that interests them.\"_ I started mentoring this course on scripting 101 on _ Furthermore, leveraging a holistic methodology facilitates seamless developer productivity.\n<|hemanth|>\n", "input_text": "In today's rapidly evolving python landscape, developers and organizations frequently encounter multifaceted challenges regarding Scripting 101 Reddit Course. Specifically, when delving into this paradigm, it is important to comprehensively evaluate the following technical context: ## \"Teaching is the best way to learn\". Indeed very true, realized this as i started a course in reddit university. _\"The University of Reddit is the product of free intellectualism and is a haven for the sharing of knowledge. Teachers and students are free to explore any subject that interests them.\"_ I started mentoring this course on scripting 101 on _ Furthermore, leveraging a holistic methodology facilitates seamless developer productivity.", "target_text": "verdict: needs_hemanth_rewrite (p_hemanth=0.20)\ndirectness=0.54 | hook=0.51 | zero_fluff=0.12 | code_first=0.35 | cadence=0.67\nnotes: Cut filler ('multifaceted', 'delving', 'paradigm', 'holistic'). Lead with a 1-sentence hook and a concrete code or metric example.", "is_hemanth_target": 0, "style_metrics": {"directness": 0.5431, "hook_strength": 0.5125, "zero_fluff": 0.1221, "code_first": 0.35, "cadence": 0.671, "p_hemanth": 0.2006}, "split_hint": "val"}
{"id": "critic_neg_getting-server-info-using-nodejs", "slug": "getting-server-info-using-nodejs", "task": "critic", "category": "nodejs", "title": "Getting server info using nodejs", "prompt": "<|task:critic|>\nText:\nIn today's rapidly evolving nodejs landscape, developers and organizations frequently encounter multifaceted challenges regarding Getting server info using nodejs. Specifically, when delving into this paradigm, it is important to comprehensively evaluate the following technical context: Getting server information using nodejs is very easy especially using the os module. Wrote a simple script to fetch **hostname, loadavg, uptime, freemem, totalmem, cpus, type, release, networkInterfaces, arch, platform, getNetworkInterfaces** from the server where the node is running. ** Below is the code to get the server info using nodejs :** Furthermore, leveraging a holistic methodology facilitates seamless developer productivity.\n<|hemanth|>\n", "input_text": "In today's rapidly evolving nodejs landscape, developers and organizations frequently encounter multifaceted challenges regarding Getting server info using nodejs. Specifically, when delving into this paradigm, it is important to comprehensively evaluate the following technical context: Getting server information using nodejs is very easy especially using the os module. Wrote a simple script to fetch **hostname, loadavg, uptime, freemem, totalmem, cpus, type, release, networkInterfaces, arch, platform, getNetworkInterfaces** from the server where the node is running. ** Below is the code to get the server info using nodejs :** Furthermore, leveraging a holistic methodology facilitates seamless developer productivity.", "target_text": "verdict: needs_hemanth_rewrite (p_hemanth=0.17)\ndirectness=0.47 | hook=0.51 | zero_fluff=0.09 | code_first=0.35 | cadence=0.68\nnotes: Cut filler ('multifaceted', 'delving', 'paradigm', 'holistic'). Lead with a 1-sentence hook and a concrete code or metric example.", "is_hemanth_target": 0, "style_metrics": {"directness": 0.4662, "hook_strength": 0.5125, "zero_fluff": 0.0936, "code_first": 0.35, "cadence": 0.6832, "p_hemanth": 0.1665}, "split_hint": "val"}
{"id": "social_chaining-functions-javascript", "slug": "chaining-functions-javascript", "task": "social", "category": "javascript", "title": "Chaining Functions in Javascript", "prompt": "<|task:social|>\nTitle: Chaining Functions in Javascript\nCategory: javascript\nPost:\nMost of us are aware of the all famous Jquery demo $(\"p.neat\").addClass(\"ohmy\").show(\"slow\"); which is a gem of an example of chaining functions.\n\nThere are many resources out their on which demonstrates various ways of chaining javascript function but, I always like to explore my own ways of doing things, let people call it re-inventing the wheel, but like doing that I like to make my own wheel! [ Enough of Nihilism! ]\n\nBelow is a simple code that /me managed to pull, which is closest to the J\n<|hemanth|>\n", "input_text": "Chaining Functions in Javascript\nMost of us are aware of the all famous Jquery demo $(\"p.neat\").addClass(\"ohmy\").show(\"slow\"); which is a gem of an example of chaining functions.\n\nThere are many resources out their on which demonstrates various ways of chaining javascript function but, I always like to explore my own ways of doing things, let people call it re-inventing the wheel, but like doing that I like to make my own wheel! [ Enough of Nihilism! ]\n\nBelow is a simple code that /me managed to pull, which is closest to the J", "target_text": "### LinkedIn\nChaining Functions in Javascript\n\nMost of us are aware of the all famous Jquery demo $(\"p.neat\").addClass(\"ohmy\").show(\"slow\"); which is a gem of an example of chaining functions.\n\n• Problem: Most of us are aware of the all famous Jquery demo $(’p.neat’).addClass(’ohmy’).show(’slow’); which is a gem of an example.\n• Takeaway: There are many resources out their on which demonstrates various ways of chaining javascript function but, I always like to explore my own ways of doing things, let people call...\n\nFull breakdown: https://h3manth.com/scribe/chaining-functions-javascript/\n\n#Ruby #Javascript\n\n### Hacker News\nTitle: Chaining Functions in Javascript\n\nMost of us are aware of the all famous Jquery demo $(\"p.neat\").addClass(\"ohmy\").show(\"slow\"); which is a gem of an example of chaining functions.\n\nThere are many resources out their on which demonstrates various ways of chaining javascript function but, I always like to explore my own ways of doing things, let people call...\n\nPost: https://h3manth.com/scribe/chaining-functions-javascript/\n\n### Reddit\nTitle: Chaining Functions in Javascript\n\nTL;DR:\n- Most of us are aware of the all famous Jquery demo $(\"p.neat\").addClass(\"ohmy\").show(\"slow\"); which is a gem of an example of chaining functions.\n- There are many resources out their on which demonstrates various ways of chaining javascript function but, I always like to explore my own ways of doing things, let people call...\n\nBlog: https://h3manth.com/scribe/chaining-functions-javascript/", "is_hemanth_target": 1, "style_metrics": {"directness": 0.3069, "hook_strength": 0.77, "zero_fluff": 1.0, "code_first": 0.6389, "cadence": 1.0, "p_hemanth": 0.8352}, "split_hint": "val"}
{"id": "blog_introducing-slang-api", "slug": "introducing-slang-api", "task": "blog", "category": "javascript", "title": "Introducing the Slang API", "tags": ["javascript", "android", "web"], "prompt": "<|task:blog|>\nTitle: Introducing the Slang API\nCategory: javascript\nTags: javascript, android, web\nSummary: Lately was working on some slang filtering module, but for the LOLz of it made a simple JSON API. The deal is pretty simple.\n<|hemanth|>\n", "input_text": "Introducing the Slang API (javascript): Lately was working on some slang filtering module, but for the LOLz of it made a simple JSON API. The deal is pretty simple.", "target_text": "Lately was working on some slang filtering module, but for the LOLz of it made a simple JSON API.\n\nThe deal is pretty simple, the API takes in an SMS slang word and expands the acronym.\n\n**So, here is a simple jQuery code to get results :**\n\n$.getJSON(\"http://h3manth.com/slang.php?str=OMG&callback=?\", \nfunction(str){ \nconsole.log(str.result); \n});\n\n \n\nDo try the [API](http://h3manth.com/slang.php?str=OMG&callback=?) and let me know if there are any additions to be done ☺", "is_hemanth_target": 1, "style_metrics": {"directness": 0.3162, "hook_strength": 0.77, "zero_fluff": 1.0, "code_first": 0.35, "cadence": 0.9129, "p_hemanth": 0.7415}, "split_hint": "val"}
{"id": "critic_neg_creating-self-extracting-sources-files", "slug": "creating-self-extracting-sources-files", "task": "critic", "category": "linux", "title": "Creating Self-Extracting Sources Files", "prompt": "<|task:critic|>\nText:\nIn today's rapidly evolving linux landscape, developers and organizations frequently encounter multifaceted challenges regarding Creating Self-Extracting Sources Files. Specifically, when delving into this paradigm, it is important to comprehensively evaluate the following technical context: The idea is pretty simple : Embed all your tgz's below a place holder and count the lines to get each tgz and pipe tail and tar to extract them to required folder. **Steps** **Step I** _Make a tgz file with all the source you have_ Assuming we call the folder to be source, so the compressed file must be source.tgz and the source might contain any extractab Furthermore, leveraging a holistic methodology facilitates seamless developer productivity.\n<|hemanth|>\n", "input_text": "In today's rapidly evolving linux landscape, developers and organizations frequently encounter multifaceted challenges regarding Creating Self-Extracting Sources Files. Specifically, when delving into this paradigm, it is important to comprehensively evaluate the following technical context: The idea is pretty simple : Embed all your tgz's below a place holder and count the lines to get each tgz and pipe tail and tar to extract them to required folder. **Steps** **Step I** _Make a tgz file with all the source you have_ Assuming we call the folder to be source, so the compressed file must be source.tgz and the source might contain any extractab Furthermore, leveraging a holistic methodology facilitates seamless developer productivity.", "target_text": "verdict: needs_hemanth_rewrite (p_hemanth=0.15)\ndirectness=0.17 | hook=0.51 | zero_fluff=0.14 | code_first=0.35 | cadence=1.00\nnotes: Cut filler ('multifaceted', 'delving', 'paradigm', 'holistic'). Lead with a 1-sentence hook and a concrete code or metric example.", "is_hemanth_target": 0, "style_metrics": {"directness": 0.17, "hook_strength": 0.5125, "zero_fluff": 0.1389, "code_first": 0.35, "cadence": 1.0, "p_hemanth": 0.1515}, "split_hint": "val"}
{"id": "critic_pos_word-frequency-mapreduce-python", "slug": "word-frequency-mapreduce-python", "task": "critic", "category": "web", "title": "Word Frequency With Mapreduce in Python", "prompt": "<|task:critic|>\nText:\n\"**MapReduce** is a programming framework popularized by Google and used to simplify data processing across massive data sets. As people rapidly increase their online activity and digital footprint, organizations are finding it vital to quickly analyze the huge amounts of data their customers and audiences generate to better understand and serve them.\"\n\nThe algorithm fundamentally boils down to two crisp steps: **map** and **reduce**:\n\n- `map (k1, v1) -> list(k2, v2)`\n- `reduce (k2, list(v2)) ->\n<|hemanth|>\n", "input_text": "\"**MapReduce** is a programming framework popularized by Google and used to simplify data processing across massive data sets. As people rapidly increase their online activity and digital footprint, organizations are finding it vital to quickly analyze the huge amounts of data their customers and audiences generate to better understand and serve them.\"\n\nThe algorithm fundamentally boils down to two crisp steps: **map** and **reduce**:\n\n- `map (k1, v1) -> list(k2, v2)`\n- `reduce (k2, list(v2)) ->", "target_text": "verdict: authentic_hemanth_voice (p_hemanth=0.86)\ndirectness=0.17 | hook=0.72 | zero_fluff=1.00 | code_first=1.00 | cadence=1.00\nnotes: Punchy practitioner hook, zero corporate filler, concrete examples.", "is_hemanth_target": 1, "style_metrics": {"directness": 0.17, "hook_strength": 0.7164, "zero_fluff": 1.0, "code_first": 1.0, "cadence": 1.0, "p_hemanth": 0.8585}, "split_hint": "val"}
{"id": "critic_pos_auto-require-ruby-gems", "slug": "auto-require-ruby-gems", "task": "critic", "category": "ruby", "title": "Auto Require Ruby Gems", "prompt": "<|task:critic|>\nText:\nA simple trick to auto-install missing gems when requiring:\n\n```ruby\nalias old_require require\n\ndef load_gem(gem)\n old_require gem\nrescue LoadError => e\n print \"'#{gem}' can't be found, trying to install it...\"\n system(\"gem install #{gem} --no-ri --no-rdoc\")\n Gem.clear_paths() && require(gem) && puts(\"loading '#{gem}' ok!\")\nend\n<|hemanth|>\n", "input_text": "A simple trick to auto-install missing gems when requiring:\n\n```ruby\nalias old_require require\n\ndef load_gem(gem)\n old_require gem\nrescue LoadError => e\n print \"'#{gem}' can't be found, trying to install it...\"\n system(\"gem install #{gem} --no-ri --no-rdoc\")\n Gem.clear_paths() && require(gem) && puts(\"loading '#{gem}' ok!\")\nend", "target_text": "verdict: authentic_hemanth_voice (p_hemanth=0.96)\ndirectness=0.82 | hook=0.77 | zero_fluff=1.00 | code_first=1.00 | cadence=0.86\nnotes: Punchy practitioner hook, zero corporate filler, concrete examples.", "is_hemanth_target": 1, "style_metrics": {"directness": 0.818, "hook_strength": 0.77, "zero_fluff": 1.0, "code_first": 1.0, "cadence": 0.8588, "p_hemanth": 0.9597}, "split_hint": "val"}
{"id": "rewrite_skills_vs_mcp", "task": "rewrite", "category": "ai", "title": "Skills vs MCP for AI Agents", "prompt": "<|task:rewrite|>\nTopic: Skills vs MCP for AI Agents\nDraft:\nIn contemporary artificial intelligence agent architectures, practitioners often debate whether modular Skill definitions supersede the Model Context Protocol (MCP). However, a comprehensive evaluation indicates that these two paradigms address orthogonal concerns: Skills encapsulate domain-specific procedural knowledge, whereas MCP facilitates external system connectivity.\n<|hemanth|>\n", "input_text": "In contemporary artificial intelligence agent architectures, practitioners often debate whether modular Skill definitions supersede the Model Context Protocol (MCP). However, a comprehensive evaluation indicates that these two paradigms address orthogonal concerns: Skills encapsulate domain-specific procedural knowledge, whereas MCP facilitates external system connectivity.", "target_text": "Skills vs MCP? Wrong question.\n\nBoth are tools for building AI agents. But they solve different problems:\n- Skills = what your agent knows how to do\n- MCP = what your agent can access\n\nOne teaches. One connects. You need both.", "is_hemanth_target": 1, "style_metrics": {"directness": 0.9412, "hook_strength": 1.0, "zero_fluff": 1.0, "code_first": 0.4944, "cadence": 0.9871, "p_hemanth": 0.9612}, "draft_metrics": {"directness": 0.5398, "hook_strength": 0.8345, "zero_fluff": 0.4066, "code_first": 0.35, "cadence": 0.6941, "p_hemanth": 0.4741}, "split_hint": "val"}
{"id": "social_es6-on-nodejs", "slug": "es6-on-nodejs", "task": "social", "category": "node", "title": "ES6 on Node.js", "prompt": "<|task:social|>\nTitle: ES6 on Node.js\nCategory: node\nPost:\nHere I demonstrate ES6 (harmony) features using raw Node.js (v0.11.6).\n\n## Enabling Harmony Features\n\n```bash\n$ node --v8-options | grep harm\n--harmony_typeof\n--harmony_scoping\n--harmony_modules\n--harmony_symbols\n--harmony_proxies\n--harmony_collections\n--harmony_generators\n--harmony_iteration\n--harmony_numeric_literals\n--harmony_strings\n--harmony_arrays\n--harmony (enable all harmony features)\n<|hemanth|>\n", "input_text": "ES6 on Node.js\nHere I demonstrate ES6 (harmony) features using raw Node.js (v0.11.6).\n\n## Enabling Harmony Features\n\n```bash\n$ node --v8-options | grep harm\n--harmony_typeof\n--harmony_scoping\n--harmony_modules\n--harmony_symbols\n--harmony_proxies\n--harmony_collections\n--harmony_generators\n--harmony_iteration\n--harmony_numeric_literals\n--harmony_strings\n--harmony_arrays\n--harmony (enable all harmony features)", "target_text": "### LinkedIn\nES6 on Node.js\n\nHere I demonstrate ES6 (harmony) features using raw Node.js (v0.11.6).\n\n• Problem: Using ES6 harmony features in Node.js with --harmony flags. Practical notes and code examples on ES6 on Node.js by Hemanth.\n• Takeaway: ## Enabling Harmony Features\n\nFull breakdown: https://h3manth.com/scribe/es6-on-nodejs/\n\n#Node #Javascript #Es6\n\n### Hacker News\nTitle: ES6 on Node.js\n\nHere I demonstrate ES6 (harmony) features using raw Node.js (v0.11.6).\n\n## Enabling Harmony Features\n\nPost: https://h3manth.com/scribe/es6-on-nodejs/\n\n### Reddit\nTitle: ES6 on Node.js\n\nTL;DR:\n- Here I demonstrate ES6 (harmony) features using raw Node.js (v0.11.6).\n- ## Enabling Harmony Features\n\nBlog: https://h3manth.com/scribe/es6-on-nodejs/", "is_hemanth_target": 1, "style_metrics": {"directness": 0.6505, "hook_strength": 0.77, "zero_fluff": 1.0, "code_first": 0.6389, "cadence": 0.967, "p_hemanth": 0.9137}, "split_hint": "val"}
{"id": "social_ucpify-json-to-commerce-server", "slug": "ucpify-json-to-commerce-server", "task": "social", "category": "javascript", "title": "ucpify: JSON → Commerce Server in Seconds", "prompt": "<|task:social|>\nTitle: ucpify: JSON → Commerce Server in Seconds\nCategory: javascript\nPost:\nSay you're a small business. You have a product catalog, maybe as a spreadsheet or a JSON file. You want to sell online. But building a commerce backend means dealing with payment APIs, database schemas, input validation, webhook handlers. That's a lot of engineering for \"I just want to sell t-shirts.\"\n\n**ucpify** takes a single JSON file with your products, shipping options, and payment config and gives you a fully working commerce server. UCP-compliant, Stripe and PayPal ready, SQLite persiste\n<|hemanth|>\n", "input_text": "ucpify: JSON → Commerce Server in Seconds\nSay you're a small business. You have a product catalog, maybe as a spreadsheet or a JSON file. You want to sell online. But building a commerce backend means dealing with payment APIs, database schemas, input validation, webhook handlers. That's a lot of engineering for \"I just want to sell t-shirts.\"\n\n**ucpify** takes a single JSON file with your products, shipping options, and payment config and gives you a fully working commerce server. UCP-compliant, Stripe and PayPal ready, SQLite persiste", "target_text": "### LinkedIn\nucpify: JSON → Commerce Server in Seconds\n\nSay you're a small business. You have a product catalog, maybe as a spreadsheet or a JSON file. You want to sell online. But building a commerce backend means dealing with payment APIs, database...\n\n• Problem: Generate a fully UCP-compliant commerce server from a single JSON config. Stripe, PayPal, SQLite, admin dashboard, all wired.\n• Takeaway: **ucpify** takes a single JSON file with your products, shipping options, and payment config and gives you a fully working commerce server. UCP-compliant, Stripe and PayPal...\n\nFull breakdown: https://h3manth.com/scribe/ucpify-json-to-commerce-server/\n\n#Javascript #Python #Ucp #Commerce\n\n### Hacker News\nTitle: ucpify: JSON → Commerce Server in Seconds\n\nSay you're a small business. You have a product catalog, maybe as a spreadsheet or a JSON file. You want to sell online. But building a commerce backend means dealing with payment APIs, database...\n\n**ucpify** takes a single JSON file with your products, shipping options, and payment config and gives you a fully working commerce server. UCP-compliant, Stripe and PayPal...\n\nPost: https://h3manth.com/scribe/ucpify-json-to-commerce-server/\n\n### Reddit\nTitle: ucpify: JSON → Commerce Server in Seconds\n\nTL;DR:\n- Say you're a small business. You have a product catalog, maybe as a spreadsheet or a JSON file. You want to sell online. But building a commerce backend means dealing with payment APIs, database...\n- **ucpify** takes a single JSON file with your products, shipping options, and payment config and gives you a fully working commerce server. UCP-compliant, Stripe and PayPal...\n\nBlog: https://h3manth.com/scribe/ucpify-json-to-commerce-server/", "is_hemanth_target": 1, "style_metrics": {"directness": 0.8796, "hook_strength": 1.0, "zero_fluff": 1.0, "code_first": 0.6389, "cadence": 0.9261, "p_hemanth": 0.9615}, "split_hint": "val"}
{"id": "rewrite_sms-service-with-firefox-os", "slug": "sms-service-with-firefox-os", "task": "rewrite", "category": "web", "title": "SMS Service with Firefox OS", "prompt": "<|task:rewrite|>\nTopic: SMS Service with Firefox OS\nDraft:\nIn today's rapidly evolving web landscape, developers and organizations frequently encounter multifaceted challenges regarding SMS Service with Firefox OS. Specifically, when delving into this paradigm, it is important to comprehensively evaluate the following technical context: A course booking SMS service with Firefox OS: 1. Customer sends: `<name> <course_name> <course_time> <tickets>` 2. System replies: `Thank you <name>! Your booking (<tickets> tickets) for <course_name> at <course_time> is confirmed.` ## Implementation Furthermore, leveraging a holistic methodology facilitates seamless developer productivity.\n<|hemanth|>\n", "input_text": "In today's rapidly evolving web landscape, developers and organizations frequently encounter multifaceted challenges regarding SMS Service with Firefox OS. Specifically, when delving into this paradigm, it is important to comprehensively evaluate the following technical context: A course booking SMS service with Firefox OS: 1. Customer sends: `<name> <course_name> <course_time> <tickets>` 2. System replies: `Thank you <name>! Your booking (<tickets> tickets) for <course_name> at <course_time> is confirmed.` ## Implementation Furthermore, leveraging a holistic methodology facilitates seamless developer productivity.", "target_text": "A course booking SMS service with Firefox OS:\n\n1. Customer sends: `<name> <course_name> <course_time> <tickets>`\n2. System replies: `Thank you <name>! Your booking (<tickets> tickets) for <course_name> at <course_time> is confirmed.`\n\n## Implementation", "is_hemanth_target": 1, "style_metrics": {"directness": 0.818, "hook_strength": 0.77, "zero_fluff": 1.0, "code_first": 1.0, "cadence": 0.7217, "p_hemanth": 0.9514}, "draft_metrics": {"directness": 0.7395, "hook_strength": 0.5125, "zero_fluff": 0.0538, "code_first": 1.0, "cadence": 0.7576, "p_hemanth": 0.5175}, "split_hint": "val"}
{"id": "critic_pos_sublime-text-build-system-errno-2", "slug": "sublime-text-build-system-errno-2", "task": "critic", "category": "web", "title": "Sublime Text Build System Errno 2", "prompt": "<|task:critic|>\nText:\nWhile working on the [yeoman-sublime-plugin](https://github.com/yeoman/sublime-plugin/), I faced `[Errno 2] No such file or directory`.\n\n## The Solution\n\n```json\n{\n \"working_dir\": \"${project_path:${folder}}\",\n \"path\": \"$HOME/bin:/usr/local/bin:$PATH\",\n \"cmd\": [\"sh\", \"-c\", \"npm install && bower install\"]\n}\n```\n<|hemanth|>\n", "input_text": "While working on the [yeoman-sublime-plugin](https://github.com/yeoman/sublime-plugin/), I faced `[Errno 2] No such file or directory`.\n\n## The Solution\n\n```json\n{\n \"working_dir\": \"${project_path:${folder}}\",\n \"path\": \"$HOME/bin:/usr/local/bin:$PATH\",\n \"cmd\": [\"sh\", \"-c\", \"npm install && bower install\"]\n}\n```", "target_text": "verdict: authentic_hemanth_voice (p_hemanth=0.95)\ndirectness=0.70 | hook=1.00 | zero_fluff=1.00 | code_first=1.00 | cadence=0.65\nnotes: Punchy practitioner hook, zero corporate filler, concrete examples.", "is_hemanth_target": 1, "style_metrics": {"directness": 0.7035, "hook_strength": 1.0, "zero_fluff": 1.0, "code_first": 1.0, "cadence": 0.6471, "p_hemanth": 0.9526}, "split_hint": "val"}
{"id": "rewrite_generate-indexhtml-given-directory", "slug": "generate-indexhtml-given-directory", "task": "rewrite", "category": "linux", "title": "Generate index.html for a given directory", "prompt": "<|task:rewrite|>\nTopic: Generate index.html for a given directory\nDraft:\nIn today's rapidly evolving linux landscape, developers and organizations frequently encounter multifaceted challenges regarding Generate index.html for a given directory. Specifically, when delving into this paradigm, it is important to comprehensively evaluate the following technical context: #!/bin/bash #Author : Hemanth.HM #Email : hemanth.hm@gmail.com #Purpose : To genrate index.html for a give directory. #Usage : bash index.sh dir=$1 cwd=$PWD #Check for input [ -z ${dir} ] && echo \"Usage : `basename $0` \" && exit 1 || cd ${dir} ## In case the user gives the input as \".\" [ \"${dir}\" == \".\" ] && dir=`pwd` ## Collect each file and Furthermore, leveraging a holistic methodology facilitates seamless developer productivity.\n<|hemanth|>\n", "input_text": "In today's rapidly evolving linux landscape, developers and organizations frequently encounter multifaceted challenges regarding Generate index.html for a given directory. Specifically, when delving into this paradigm, it is important to comprehensively evaluate the following technical context: #!/bin/bash #Author : Hemanth.HM #Email : hemanth.hm@gmail.com #Purpose : To genrate index.html for a give directory. #Usage : bash index.sh dir=$1 cwd=$PWD #Check for input [ -z ${dir} ] && echo \"Usage : `basename $0` \" && exit 1 || cd ${dir} ## In case the user gives the input as \".\" [ \"${dir}\" == \".\" ] && dir=`pwd` ## Collect each file and Furthermore, leveraging a holistic methodology facilitates seamless developer productivity.", "target_text": "#!/bin/bash\n#Author : Hemanth.HM\n#Email : hemanth.hm@gmail.com\n#Purpose : To genrate index.html for a give directory.\n#Usage : bash index.sh \n \ndir=$1\ncwd=$PWD\n \n#Check for input \n[ -z ${dir} ] && echo \"Usage : `basename $0` \" && exit 1 || cd ${dir}\n \n## In case the user gives the input as \".\"\n[ \"${dir}\" == \".\" ] && dir=`pwd`\n \n \n## Collect each file and add them to href's\nINDEX=$(for f in *; \ndo printf '\n- [%s]()\\n' \"$f\" \"$f\"; \ndone)\n\n## Create an index.html file\ncat > index.html << EOI\n\n \n \n body { font-family: serif; }\n p { font-size: 13px; }\n h2 { font-size: 24px; \n font-style: italic;\n }\n ul { font-weight: bolder; }\n \n <title>Index of ${dir}</title>\n \n \n \n Index of ${dir}\n \n $INDEX", "is_hemanth_target": 1, "style_metrics": {"directness": 0.17, "hook_strength": 1.0, "zero_fluff": 1.0, "code_first": 0.747, "cadence": 1.0, "p_hemanth": 0.8675}, "draft_metrics": {"directness": 0.17, "hook_strength": 0.5125, "zero_fluff": 0.1102, "code_first": 0.6854, "cadence": 1.0, "p_hemanth": 0.2223}, "split_hint": "val"}
{"id": "critic_neg_ucpify-json-to-commerce-server", "slug": "ucpify-json-to-commerce-server", "task": "critic", "category": "javascript", "title": "ucpify: JSON → Commerce Server in Seconds", "prompt": "<|task:critic|>\nText:\nIn today's rapidly evolving javascript landscape, developers and organizations frequently encounter multifaceted challenges regarding ucpify: JSON → Commerce Server in Seconds. Specifically, when delving into this paradigm, it is important to comprehensively evaluate the following technical context: Say you're a small business. You have a product catalog, maybe as a spreadsheet or a JSON file. You want to sell online. But building a commerce backend means dealing with payment APIs, database schemas, input validation, webhook handlers. That's a lot of engineering for \"I just want to sell t-shirts.\" **ucpify** takes a single JSON file with your products, Furthermore, leveraging a holistic methodology facilitates seamless developer productivity.\n<|hemanth|>\n", "input_text": "In today's rapidly evolving javascript landscape, developers and organizations frequently encounter multifaceted challenges regarding ucpify: JSON → Commerce Server in Seconds. Specifically, when delving into this paradigm, it is important to comprehensively evaluate the following technical context: Say you're a small business. You have a product catalog, maybe as a spreadsheet or a JSON file. You want to sell online. But building a commerce backend means dealing with payment APIs, database schemas, input validation, webhook handlers. That's a lot of engineering for \"I just want to sell t-shirts.\" **ucpify** takes a single JSON file with your products, Furthermore, leveraging a holistic methodology facilitates seamless developer productivity.", "target_text": "verdict: needs_hemanth_rewrite (p_hemanth=0.23)\ndirectness=0.65 | hook=0.51 | zero_fluff=0.13 | code_first=0.35 | cadence=0.63\nnotes: Cut filler ('multifaceted', 'delving', 'paradigm', 'holistic'). Lead with a 1-sentence hook and a concrete code or metric example.", "is_hemanth_target": 0, "style_metrics": {"directness": 0.6489, "hook_strength": 0.5125, "zero_fluff": 0.1269, "code_first": 0.35, "cadence": 0.6282, "p_hemanth": 0.2332}, "split_hint": "val"}
{"id": "critic_pos_publish-packages-to-npm-with-yeoman", "slug": "publish-packages-to-npm-with-yeoman", "task": "critic", "category": "node", "title": "Publish Packages to NPM with Yeoman", "prompt": "<|task:critic|>\nText:\n[Yeoman](http://yeoman.io/) makes creating and maintaining node packages easy with [generator-node](https://github.com/yeoman/generator-node).\n\n## Getting Started\n\n```bash\nnpm install -g generator-node\nmkdir exmp && cd $_\nyo node\n<|hemanth|>\n", "input_text": "[Yeoman](http://yeoman.io/) makes creating and maintaining node packages easy with [generator-node](https://github.com/yeoman/generator-node).\n\n## Getting Started\n\n```bash\nnpm install -g generator-node\nmkdir exmp && cd $_\nyo node", "target_text": "verdict: authentic_hemanth_voice (p_hemanth=0.92)\ndirectness=0.61 | hook=0.77 | zero_fluff=1.00 | code_first=1.00 | cadence=0.69\nnotes: Punchy practitioner hook, zero corporate filler, concrete examples.", "is_hemanth_target": 1, "style_metrics": {"directness": 0.6053, "hook_strength": 0.77, "zero_fluff": 1.0, "code_first": 1.0, "cadence": 0.6941, "p_hemanth": 0.9206}, "split_hint": "val"}
{"id": "blog_date-shifting-in-ruby", "slug": "date-shifting-in-ruby", "task": "blog", "category": "ruby", "title": "Date Shifting in Ruby", "tags": ["ruby"], "prompt": "<|task:blog|>\nTitle: Date Shifting in Ruby\nCategory: ruby\nTags: ruby\nSummary: Using the and operators on Ruby Date objects. Practical notes and code examples on Date Shifting in Ruby by Hemanth HM in JS.\n<|hemanth|>\n", "input_text": "Date Shifting in Ruby (ruby): Using the and operators on Ruby Date objects. Practical notes and code examples on Date Shifting in Ruby by Hemanth HM in JS.", "target_text": "Ruby has a hidden gem: the `<<` shift operator on Date objects!\n\n```ruby\nrequire 'date'\ntoday = Date.today # 2014-09-14\n\n# Shift to previous month\nlast_month = today << 1\nlast_month.strftime('%B') # \"August\"\n\n# Shift to next months\nnext_month = today >> 2\nnext_month.strftime('%A-%B-%Y') # \"Friday-November-2014\"\n\n# Works on new dates too\nDate.new(1988, 02, 01) >> 1 # 1988-03-01\n```\n\nHappy hacking! 🗓️", "is_hemanth_target": 1, "style_metrics": {"directness": 0.8796, "hook_strength": 1.0, "zero_fluff": 1.0, "code_first": 1.0, "cadence": 0.8353, "p_hemanth": 0.9752}, "split_hint": "val"}
{"id": "rewrite_javascript-one-liner-extracting-unique-words-webpages", "slug": "javascript-one-liner-extracting-unique-words-webpages", "task": "rewrite", "category": "javascript", "title": "JavaScript One Liner Extracting Unique Words From Webpages", "prompt": "<|task:rewrite|>\nTopic: JavaScript One Liner Extracting Unique Words From Webpages\nDraft:\nIn today's rapidly evolving javascript landscape, developers and organizations frequently encounter multifaceted challenges regarding JavaScript One Liner Extracting Unique Words From Webpages. Specifically, when delving into this paradigm, it is important to comprehensively evaluate the following technical context: Unlike [JSON parsing with ruby one-liner ?](http://h3manth.com/content/json-parsing-ruby-one-liner) this is indeed a very strong raw JavaScript one liner that /me managed to frame last weekend. **So what's the deal?** Extracting all the words in a given webpage, which later can be used to parse or search! Furthermore, leveraging a holistic methodology facilitates seamless developer productivity.\n<|hemanth|>\n", "input_text": "In today's rapidly evolving javascript landscape, developers and organizations frequently encounter multifaceted challenges regarding JavaScript One Liner Extracting Unique Words From Webpages. Specifically, when delving into this paradigm, it is important to comprehensively evaluate the following technical context: Unlike [JSON parsing with ruby one-liner ?](http://h3manth.com/content/json-parsing-ruby-one-liner) this is indeed a very strong raw JavaScript one liner that /me managed to frame last weekend. **So what's the deal?** Extracting all the words in a given webpage, which later can be used to parse or search! Furthermore, leveraging a holistic methodology facilitates seamless developer productivity.", "target_text": "Unlike [JSON parsing with ruby one-liner ?](http://h3manth.com/content/json-parsing-ruby-one-liner) this is indeed a very strong raw JavaScript one liner that /me managed to frame last weekend.\n\n**So what's the deal?**\n\nExtracting all the words in a given webpage, which later can be used to parse or search!", "is_hemanth_target": 1, "style_metrics": {"directness": 0.3435, "hook_strength": 1.0, "zero_fluff": 1.0, "code_first": 0.35, "cadence": 0.6706, "p_hemanth": 0.762}, "draft_metrics": {"directness": 0.4007, "hook_strength": 0.5125, "zero_fluff": 0.1125, "code_first": 0.35, "cadence": 0.904, "p_hemanth": 0.198}, "split_hint": "val"}
{"id": "rewrite_creating-self-extracting-sources-files", "slug": "creating-self-extracting-sources-files", "task": "rewrite", "category": "linux", "title": "Creating Self-Extracting Sources Files", "prompt": "<|task:rewrite|>\nTopic: Creating Self-Extracting Sources Files\nDraft:\nIn today's rapidly evolving linux landscape, developers and organizations frequently encounter multifaceted challenges regarding Creating Self-Extracting Sources Files. Specifically, when delving into this paradigm, it is important to comprehensively evaluate the following technical context: The idea is pretty simple : Embed all your tgz's below a place holder and count the lines to get each tgz and pipe tail and tar to extract them to required folder. **Steps** **Step I** _Make a tgz file with all the source you have_ Assuming we call the folder to be source, so the compressed file must be source.tgz and the source might contain any extractab Furthermore, leveraging a holistic methodology facilitates seamless developer productivity.\n<|hemanth|>\n", "input_text": "In today's rapidly evolving linux landscape, developers and organizations frequently encounter multifaceted challenges regarding Creating Self-Extracting Sources Files. Specifically, when delving into this paradigm, it is important to comprehensively evaluate the following technical context: The idea is pretty simple : Embed all your tgz's below a place holder and count the lines to get each tgz and pipe tail and tar to extract them to required folder. **Steps** **Step I** _Make a tgz file with all the source you have_ Assuming we call the folder to be source, so the compressed file must be source.tgz and the source might contain any extractab Furthermore, leveraging a holistic methodology facilitates seamless developer productivity.", "target_text": "The idea is pretty simple : Embed all your tgz's below a place holder and count the lines to get each tgz and pipe tail and tar to extract them to required folder.\n\n**Steps**\n\n**Step I** _Make a tgz file with all the source you have_ Assuming we call the folder to be source, so the compressed file must be source.tgz and the source might contain any extractable files, even simple shell scripts. Lets assume that our source folder has a build.sh script which takes care of installing each and every source.", "is_hemanth_target": 1, "style_metrics": {"directness": 0.218, "hook_strength": 0.9409, "zero_fluff": 1.0, "code_first": 0.35, "cadence": 1.0, "p_hemanth": 0.7766}, "draft_metrics": {"directness": 0.17, "hook_strength": 0.5125, "zero_fluff": 0.1389, "code_first": 0.35, "cadence": 1.0, "p_hemanth": 0.1515}, "split_hint": "val"}
{"id": "critic_neg_auto-require-ruby-gems", "slug": "auto-require-ruby-gems", "task": "critic", "category": "ruby", "title": "Auto Require Ruby Gems", "prompt": "<|task:critic|>\nText:\nIn today's rapidly evolving ruby landscape, developers and organizations frequently encounter multifaceted challenges regarding Auto Require Ruby Gems. Specifically, when delving into this paradigm, it is important to comprehensively evaluate the following technical context: A simple trick to auto-install missing gems when requiring: ```ruby alias old_require require def load_gem(gem) old_require gem rescue LoadError => e print \"'#{gem}' can't be found, trying to install it...\" system(\"gem install #{gem} --no-ri --no-rdoc\") Gem.clear_paths() && require(gem) && puts(\"loading '#{gem}' ok!\") end Furthermore, leveraging a holistic methodology facilitates seamless developer productivity.\n<|hemanth|>\n", "input_text": "In today's rapidly evolving ruby landscape, developers and organizations frequently encounter multifaceted challenges regarding Auto Require Ruby Gems. Specifically, when delving into this paradigm, it is important to comprehensively evaluate the following technical context: A simple trick to auto-install missing gems when requiring: ```ruby alias old_require require def load_gem(gem) old_require gem rescue LoadError => e print \"'#{gem}' can't be found, trying to install it...\" system(\"gem install #{gem} --no-ri --no-rdoc\") Gem.clear_paths() && require(gem) && puts(\"loading '#{gem}' ok!\") end Furthermore, leveraging a holistic methodology facilitates seamless developer productivity.", "target_text": "verdict: needs_hemanth_rewrite (p_hemanth=0.14)\ndirectness=0.17 | hook=0.51 | zero_fluff=0.09 | code_first=0.35 | cadence=1.00\nnotes: Cut filler ('multifaceted', 'delving', 'paradigm', 'holistic'). Lead with a 1-sentence hook and a concrete code or metric example.", "is_hemanth_target": 0, "style_metrics": {"directness": 0.17, "hook_strength": 0.5125, "zero_fluff": 0.089, "code_first": 0.35, "cadence": 1.0, "p_hemanth": 0.1363}, "split_hint": "val"}
{"id": "social_making-promise-javascript", "slug": "making-promise-javascript", "task": "social", "category": "javascript", "title": "Making a Promise With Javascript", "prompt": "<|task:social|>\nTitle: Making a Promise With Javascript\nCategory: javascript\nPost:\n[Chaining functions](http://www.h3manth.com/content/chaining-functions-javascript) in javascript is fun, so is the understanding of [Blaocking vs Non-Blocking](http://h3manth.com/content/blocking-vs-non-blocking-nodejs) code, but callback can soon end up in hell!\n\nTo save one from callback hell, normally named functions are preferred as save boats, but promises are more promising pattern!\n\nPromises are not a new to the world of computer science, many JS frameworks have made promises for quite so\n<|hemanth|>\n", "input_text": "Making a Promise With Javascript\n[Chaining functions](http://www.h3manth.com/content/chaining-functions-javascript) in javascript is fun, so is the understanding of [Blaocking vs Non-Blocking](http://h3manth.com/content/blocking-vs-non-blocking-nodejs) code, but callback can soon end up in hell!\n\nTo save one from callback hell, normally named functions are preferred as save boats, but promises are more promising pattern!\n\nPromises are not a new to the world of computer science, many JS frameworks have made promises for quite so", "target_text": "### LinkedIn\nMaking a Promise With Javascript\n\n[Chaining functions](http://www.h3manth.com/content/chaining-functions-javascript) in javascript is fun, so is the understanding of [Blaocking vs...\n\n• Problem: Chaining functions in javascript is fun, so is the understanding of Blaocking vs Non-Blocking code, but callback can soon.\n• Takeaway: To save one from callback hell, normally named functions are preferred as save boats, but promises are more promising pattern!\n\nFull breakdown: https://h3manth.com/scribe/making-promise-javascript/\n\n#Nodejs #Javascript #Web\n\n### Hacker News\nTitle: Making a Promise With Javascript\n\n[Chaining functions](http://www.h3manth.com/content/chaining-functions-javascript) in javascript is fun, so is the understanding of [Blaocking vs...\n\nTo save one from callback hell, normally named functions are preferred as save boats, but promises are more promising pattern!\n\nPost: https://h3manth.com/scribe/making-promise-javascript/\n\n### Reddit\nTitle: Making a Promise With Javascript\n\nTL;DR:\n- [Chaining functions](http://www.h3manth.com/content/chaining-functions-javascript) in javascript is fun, so is the understanding of [Blaocking vs...\n- To save one from callback hell, normally named functions are preferred as save boats, but promises are more promising pattern!\n\nBlog: https://h3manth.com/scribe/making-promise-javascript/", "is_hemanth_target": 1, "style_metrics": {"directness": 0.5032, "hook_strength": 0.77, "zero_fluff": 1.0, "code_first": 0.6389, "cadence": 0.9405, "p_hemanth": 0.8793}, "split_hint": "val"}
{"id": "rewrite_v8-inspector-from-node", "slug": "v8-inspector-from-node", "task": "rewrite", "category": "node", "title": "V8 Inspector from Node", "prompt": "<|task:rewrite|>\nTopic: V8 Inspector from Node\nDraft:\nIn today's rapidly evolving node landscape, developers and organizations frequently encounter multifaceted challenges regarding V8 Inspector from Node. Specifically, when delving into this paradigm, it is important to comprehensively evaluate the following technical context: The [inspector](https://nodejs.org/api/inspector.html) module provides an API that makes it easy to interact with the V8 inspector. ## Opening an Inspector One can easily open an inspector like: Furthermore, leveraging a holistic methodology facilitates seamless developer productivity.\n<|hemanth|>\n", "input_text": "In today's rapidly evolving node landscape, developers and organizations frequently encounter multifaceted challenges regarding V8 Inspector from Node. Specifically, when delving into this paradigm, it is important to comprehensively evaluate the following technical context: The [inspector](https://nodejs.org/api/inspector.html) module provides an API that makes it easy to interact with the V8 inspector. ## Opening an Inspector One can easily open an inspector like: Furthermore, leveraging a holistic methodology facilitates seamless developer productivity.", "target_text": "The [inspector](https://nodejs.org/api/inspector.html) module provides an API that makes it easy to interact with the V8 inspector.\n\n## Opening an Inspector\n\nOne can easily open an inspector like:", "is_hemanth_target": 1, "style_metrics": {"directness": 0.7198, "hook_strength": 0.77, "zero_fluff": 1.0, "code_first": 0.35, "cadence": 0.7176, "p_hemanth": 0.845}, "draft_metrics": {"directness": 0.4144, "hook_strength": 0.5125, "zero_fluff": 0.0518, "code_first": 0.35, "cadence": 0.8909, "p_hemanth": 0.1771}, "split_hint": "val"}
{"id": "rewrite_how-get-info-about-all-nodes-network-ssh", "slug": "how-get-info-about-all-nodes-network-ssh", "task": "rewrite", "category": "linux", "title": "How to Get Info About All the Nodes in the Network via SSH ?", "prompt": "<|task:rewrite|>\nTopic: How to Get Info About All the Nodes in the Network via SSH ?\nDraft:\nIn today's rapidly evolving linux landscape, developers and organizations frequently encounter multifaceted challenges regarding How to Get Info About All the Nodes in the Network via SSH ?. Specifically, when delving into this paradigm, it is important to comprehensively evaluate the following technical context: **Logic:** _1\\. Checking if the host is alive. 2\\. Getting info about them, via remote commands._ **Steps:** _1\\. Prepare password free SSH access. 2\\. Make a simple script to get host info._ **Prepare password free SSH access:** `$ssh-copy-id user@host` or cat ~/.ssh/id_dsa.pub | ssh user@remotehost 'cat >> ~/.ssh/authorized_keys Furthermore, leveraging a holistic methodology facilitates seamless developer productivity.\n<|hemanth|>\n", "input_text": "In today's rapidly evolving linux landscape, developers and organizations frequently encounter multifaceted challenges regarding How to Get Info About All the Nodes in the Network via SSH ?. Specifically, when delving into this paradigm, it is important to comprehensively evaluate the following technical context: **Logic:** _1\\. Checking if the host is alive. 2\\. Getting info about them, via remote commands._ **Steps:** _1\\. Prepare password free SSH access. 2\\. Make a simple script to get host info._ **Prepare password free SSH access:** `$ssh-copy-id user@host` or cat ~/.ssh/id_dsa.pub | ssh user@remotehost 'cat >> ~/.ssh/authorized_keys Furthermore, leveraging a holistic methodology facilitates seamless developer productivity.", "target_text": "**Logic:** _1\\. Checking if the host is alive. 2\\. Getting info about them, via remote commands._\n\n**Steps:** _1\\. Prepare password free SSH access. 2\\. Make a simple script to get host info._\n\n**Prepare password free SSH access:** `$ssh-copy-id user@host` or cat ~/.ssh/id_dsa.pub | ssh user@remotehost 'cat >> ~/.ssh/authorized_keys", "is_hemanth_target": 1, "style_metrics": {"directness": 0.818, "hook_strength": 1.0, "zero_fluff": 1.0, "code_first": 0.7769, "cadence": 0.9534, "p_hemanth": 0.9657}, "draft_metrics": {"directness": 0.8016, "hook_strength": 0.5125, "zero_fluff": 0.1245, "code_first": 0.6059, "cadence": 0.52, "p_hemanth": 0.3569}, "split_hint": "val"}
{"id": "critic_neg_publish-packages-to-npm-with-yeoman", "slug": "publish-packages-to-npm-with-yeoman", "task": "critic", "category": "node", "title": "Publish Packages to NPM with Yeoman", "prompt": "<|task:critic|>\nText:\nIn today's rapidly evolving node landscape, developers and organizations frequently encounter multifaceted challenges regarding Publish Packages to NPM with Yeoman. Specifically, when delving into this paradigm, it is important to comprehensively evaluate the following technical context: [Yeoman](http://yeoman.io/) makes creating and maintaining node packages easy with [generator-node](https://github.com/yeoman/generator-node). ## Getting Started ```bash npm install -g generator-node mkdir exmp && cd $_ yo node Furthermore, leveraging a holistic methodology facilitates seamless developer productivity.\n<|hemanth|>\n", "input_text": "In today's rapidly evolving node landscape, developers and organizations frequently encounter multifaceted challenges regarding Publish Packages to NPM with Yeoman. Specifically, when delving into this paradigm, it is important to comprehensively evaluate the following technical context: [Yeoman](http://yeoman.io/) makes creating and maintaining node packages easy with [generator-node](https://github.com/yeoman/generator-node). ## Getting Started ```bash npm install -g generator-node mkdir exmp && cd $_ yo node Furthermore, leveraging a holistic methodology facilitates seamless developer productivity.", "target_text": "verdict: needs_hemanth_rewrite (p_hemanth=0.13)\ndirectness=0.37 | hook=0.51 | zero_fluff=0.06 | code_first=0.35 | cadence=0.72\nnotes: Cut filler ('multifaceted', 'delving', 'paradigm', 'holistic'). Lead with a 1-sentence hook and a concrete code or metric example.", "is_hemanth_target": 0, "style_metrics": {"directness": 0.3707, "hook_strength": 0.5125, "zero_fluff": 0.0601, "code_first": 0.35, "cadence": 0.7174, "p_hemanth": 0.1344}, "split_hint": "val"}
{"id": "rewrite_365-days-of-github", "slug": "365-days-of-github", "task": "rewrite", "category": "opensource", "title": "365 Days of GitHub", "prompt": "<|task:rewrite|>\nTopic: 365 Days of GitHub\nDraft:\nIn today's rapidly evolving opensource landscape, developers and organizations frequently encounter multifaceted challenges regarding 365 Days of GitHub. Specifically, when delving into this paradigm, it is important to comprehensively evaluate the following technical context: I've open sourced about 474 projects since 2008, and been part of larger projects like [Yeoman](https://github.com/yeoman), [Koa.js](https://github.com/koajs), and [git-extras](https://github.com/tj/git-extras). ## Learnings from 365 Days - Don't over burn yourself! - Don't get anxious - it's just a streak - Start as many projects/orgs as you can, collabor Furthermore, leveraging a holistic methodology facilitates seamless developer productivity.\n<|hemanth|>\n", "input_text": "In today's rapidly evolving opensource landscape, developers and organizations frequently encounter multifaceted challenges regarding 365 Days of GitHub. Specifically, when delving into this paradigm, it is important to comprehensively evaluate the following technical context: I've open sourced about 474 projects since 2008, and been part of larger projects like [Yeoman](https://github.com/yeoman), [Koa.js](https://github.com/koajs), and [git-extras](https://github.com/tj/git-extras). ## Learnings from 365 Days - Don't over burn yourself! - Don't get anxious - it's just a streak - Start as many projects/orgs as you can, collabor Furthermore, leveraging a holistic methodology facilitates seamless developer productivity.", "target_text": "I've open sourced about 474 projects since 2008, and been part of larger projects like [Yeoman](https://github.com/yeoman), [Koa.js](https://github.com/koajs), and [git-extras](https://github.com/tj/git-extras).\n\n## Learnings from 365 Days\n\n- Don't over burn yourself!\n- Don't get anxious - it's just a streak\n- Start as many projects/orgs as you can, collaborate with humans\n- It took about 180 days for this to become a part of life\n- Make new mistakes in public - that's one of the finest ways to learn\n- Accept negative criticism with a smile\n- Ask people about their thoughts on IRC, Social Media\n- Make sure your projects have good READMEs!\n- Names of the repos matter a lot!\n- Don't wait for permission to send a PR or start an org\n- Thank people who helped you, out loud\n- Sometimes whatever you do need not be a success story\n- Pickup new stuff, experiment a lot!\n- Never stop! Getting burnt is common, but keep contributing", "is_hemanth_target": 1, "style_metrics": {"directness": 0.4674, "hook_strength": 0.77, "zero_fluff": 1.0, "code_first": 0.7111, "cadence": 1.0, "p_hemanth": 0.8915}, "draft_metrics": {"directness": 0.368, "hook_strength": 0.5125, "zero_fluff": 0.1221, "code_first": 0.35, "cadence": 0.904, "p_hemanth": 0.1901}, "split_hint": "val"}
{"id": "rewrite_making-promise-javascript", "slug": "making-promise-javascript", "task": "rewrite", "category": "javascript", "title": "Making a Promise With Javascript", "prompt": "<|task:rewrite|>\nTopic: Making a Promise With Javascript\nDraft:\nIn today's rapidly evolving javascript landscape, developers and organizations frequently encounter multifaceted challenges regarding Making a Promise With Javascript. Specifically, when delving into this paradigm, it is important to comprehensively evaluate the following technical context: [Chaining functions](http://www.h3manth.com/content/chaining-functions-javascript) in javascript is fun, so is the understanding of [Blaocking vs Non-Blocking](http://h3manth.com/content/blocking-vs-non-blocking-nodejs) code, but callback can soon end up in hell! To save one from callback hell, normally named functions are preferred as save boats, but promi Furthermore, leveraging a holistic methodology facilitates seamless developer productivity.\n<|hemanth|>\n", "input_text": "In today's rapidly evolving javascript landscape, developers and organizations frequently encounter multifaceted challenges regarding Making a Promise With Javascript. Specifically, when delving into this paradigm, it is important to comprehensively evaluate the following technical context: [Chaining functions](http://www.h3manth.com/content/chaining-functions-javascript) in javascript is fun, so is the understanding of [Blaocking vs Non-Blocking](http://h3manth.com/content/blocking-vs-non-blocking-nodejs) code, but callback can soon end up in hell! To save one from callback hell, normally named functions are preferred as save boats, but promi Furthermore, leveraging a holistic methodology facilitates seamless developer productivity.", "target_text": "[Chaining functions](http://www.h3manth.com/content/chaining-functions-javascript) in javascript is fun, so is the understanding of [Blaocking vs Non-Blocking](http://h3manth.com/content/blocking-vs-non-blocking-nodejs) code, but callback can soon end up in hell!\n\nTo save one from callback hell, normally named functions are preferred as save boats, but promises are more promising pattern!\n\nPromises are not a new to the world of computer science, many JS frameworks have made promises for quite some time now, [jQuery Deffered](http://api.jquery.com/deferred.promise/) being one amongst them, taskjs is also very impressive.", "is_hemanth_target": 1, "style_metrics": {"directness": 0.17, "hook_strength": 1.0, "zero_fluff": 1.0, "code_first": 0.35, "cadence": 0.8615, "p_hemanth": 0.7389}, "draft_metrics": {"directness": 0.17, "hook_strength": 0.5125, "zero_fluff": 0.1102, "code_first": 0.35, "cadence": 0.9943, "p_hemanth": 0.1416}, "split_hint": "val"}
{"id": "blog_scripting-101-reddit-course", "slug": "scripting-101-reddit-course", "task": "blog", "category": "python", "title": "Scripting 101 Reddit Course", "tags": ["ruby", "python", "bash", "web"], "prompt": "<|task:blog|>\nTitle: Scripting 101 Reddit Course\nCategory: python\nTags: ruby, python, bash, web\nSummary: ’The University of Reddit is the product of free intellectualism and is a haven for the sharing of knowledge. Teachers and.\n<|hemanth|>\n", "input_text": "Scripting 101 Reddit Course (python): ’The University of Reddit is the product of free intellectualism and is a haven for the sharing of knowledge. Teachers and.", "target_text": "## \"Teaching is the best way to learn\". Indeed very true, realized this as i started a course in reddit university.\n\n_\"The University of Reddit is the product of free intellectualism and is a haven for the sharing of knowledge. Teachers and students are free to explore any subject that interests them.\"_\n\nI started mentoring this course on scripting 101 on _15.00 Sat Jul 9 15:00:00 UTC 2010_ which is all about using bash, python, perl, ruby, php and many other scripting languages in day to day task. More of interaction driven with about [307 students!](http://universityofreddit.com/v2/class.php?id=85) Its been a successful journey so far with 3 class done on BASH introduction to advance.\n\n**What next?**\n\n1.[Join the Google Group](http://groups.google.com/group/terminal-hackers) 2.[ Read the course plan](http://groups.google.com/group/terminal-hackers/browse_thread/thread/30b26084c70c9fe9) 2.[Join the class in IRC [ UTC 15:00 every Saturday ]](http://webchat.freenode.net/?channels=terminal-hackers-classroom,terminal-hackers-chatroom&uio=OT10cnVlJjEwPXRydWU3a) 3.[Read the logs](https://docs.google.com/leaf?id=0B18Np5Eb-MT0MDNkZGY4ZDktYTQ0NS00NTZhLTgzZWMtNjk0NTgwZWQ1N2Qy&hl=en_GB&auth", "is_hemanth_target": 1, "style_metrics": {"directness": 0.1962, "hook_strength": 0.77, "zero_fluff": 1.0, "code_first": 0.35, "cadence": 1.0, "p_hemanth": 0.7118}, "split_hint": "val"}
{"id": "blog_websocketstream-api", "slug": "websocketstream-api", "task": "blog", "category": "web", "title": "WebSocketStream API", "tags": ["javascript", "web-api", "websocket", "streams"], "prompt": "<|task:blog|>\nTitle: WebSocketStream API\nCategory: web\nTags: javascript, web-api, websocket, streams\nSummary: A modern WebSocket API that supports backpressure and streams. Practical notes and code examples on WebSocketStream API by.\n<|hemanth|>\n", "input_text": "WebSocketStream API (web): A modern WebSocket API that supports backpressure and streams. Practical notes and code examples on WebSocketStream API by.", "target_text": "WebSocketStream API came into play to make things easier with WebSocket API, which has the below limitations:\n\n- Ergonomics isn't great\n- The important feature of `backpressure` is missing\n- The `onmessage` event will keep firing until the page becomes completely unresponsive\n- To find out when it is safe to start sending messages again, it is necessary to poll bufferedAmount\n\n## Goals of WebSocketStream API\n\n- Provide a WebSocket API that supports backpressure\n- Provide a modern, ergonomic, easy-to-use WebSocket API\n- Allow for future extension\n\n*From the [explainer](https://github.com/ricea/websocketstream-explainer).*\n\n## Sample Code\n\n```javascript\n(async () => {\n const wss = new WebSocketStream(\"wss://echo.websocket.org/\");\n const { readable, writable } = await wss.connection;\n const reader = readable.getReader();\n \n await writable.getWriter().write(\"echo\");\n const { value, done } = await reader.read();\n console.log(value, done);\n})();\n```", "is_hemanth_target": 1, "style_metrics": {"directness": 0.17, "hook_strength": 0.77, "zero_fluff": 1.0, "code_first": 1.0, "cadence": 0.86, "p_hemanth": 0.8449}, "split_hint": "val"}
{"id": "rewrite_color-clock", "slug": "color-clock", "task": "rewrite", "category": "web", "title": "The Color Clock", "prompt": "<|task:rewrite|>\nTopic: The Color Clock\nDraft:\nIn today's rapidly evolving web landscape, developers and organizations frequently encounter multifaceted challenges regarding The Color Clock. Specifically, when delving into this paradigm, it is important to comprehensively evaluate the following technical context: I came across the [thecolourclock](http://thecolourclock.co.uk/) wanted to check out the source sadly it was build in ~~flash~~ so tired to make one with some HTML and JS. Check out [**thecolorclock**](http://h3manth.com/sites/files/colorclock.html). [See time in colors :)] The idea is to represent time as a hexadecimal color value. **Check out the code [In Furthermore, leveraging a holistic methodology facilitates seamless developer productivity.\n<|hemanth|>\n", "input_text": "In today's rapidly evolving web landscape, developers and organizations frequently encounter multifaceted challenges regarding The Color Clock. Specifically, when delving into this paradigm, it is important to comprehensively evaluate the following technical context: I came across the [thecolourclock](http://thecolourclock.co.uk/) wanted to check out the source sadly it was build in ~~flash~~ so tired to make one with some HTML and JS. Check out [**thecolorclock**](http://h3manth.com/sites/files/colorclock.html). [See time in colors :)] The idea is to represent time as a hexadecimal color value. **Check out the code [In Furthermore, leveraging a holistic methodology facilitates seamless developer productivity.", "target_text": "I came across the [thecolourclock](http://thecolourclock.co.uk/) wanted to check out the source sadly it was build in ~~flash~~ so tired to make one with some HTML and JS. Check out [**thecolorclock**](http://h3manth.com/sites/files/colorclock.html). [See time in colors :)] The idea is to represent time as a hexadecimal color value.\n\n**Check out the code [Indeed view source ;) ] or :** ` Get the git clone or view the raw from [colorclock](https://github.com/hemanth/futhark/blob/master/colorclock.html) `\n\n_Do comment your suggestions and improvements /me not a good at look and feel :0)_", "is_hemanth_target": 1, "style_metrics": {"directness": 0.4335, "hook_strength": 0.7873, "zero_fluff": 1.0, "code_first": 1.0, "cadence": 1.0, "p_hemanth": 0.9258}, "draft_metrics": {"directness": 0.5627, "hook_strength": 0.5125, "zero_fluff": 0.1149, "code_first": 0.35, "cadence": 0.784, "p_hemanth": 0.2325}, "split_hint": "val"}
{"id": "blog_v8-inspector-from-node", "slug": "v8-inspector-from-node", "task": "blog", "category": "node", "title": "V8 Inspector from Node", "tags": ["node", "javascript", "debugging", "v8"], "prompt": "<|task:blog|>\nTitle: V8 Inspector from Node\nCategory: node\nTags: node, javascript, debugging, v8\nSummary: Using the inspector module to interact with the V8 inspector from Node.js. Practical notes and code examples on V8 Inspector.\n<|hemanth|>\n", "input_text": "V8 Inspector from Node (node): Using the inspector module to interact with the V8 inspector from Node.js. Practical notes and code examples on V8 Inspector.", "target_text": "The [inspector](https://nodejs.org/api/inspector.html) module provides an API that makes it easy to interact with the V8 inspector.\n\n## Opening an Inspector\n\nOne can easily open an inspector like:\n\n```javascript\nconst inspector = require(\"inspector\");\n\ninspector.open(); // <- inspector.open([port[, host[, wait]]])\n/*\nDebugger listening on ws://127.0.0.1:9229/ab01a630-90ad-4c87-91c9-a665632c1d8b\nFor help see https://nodejs.org/en/docs/inspector\n*/\n\ninspector.url();\n// 'ws://127.0.0.1:9229/ab01a630-90ad-4c87-91c9-a665632c1d8b'\n\ninspector.console.log(\"This should be visible on the debugger console\");\n```\n\n## Waiting for Debugger\n\nMost of the time we would want to wait until the debugger is connected to our process. That's where `inspector.waitForDebugger()` will be useful:\n\n```javascript\n// foo.js\n(() => {\n const inspector = require(\"inspector\");\n inspector.open();\n inspector.waitForDebugger();\n})();\n```\n\n```bash\n> node foo.js\n# This would make the process wait till the debugger is connected.\n# Debugger listening on ws://127.0.0.1:9229/b4b0e48d-2e4c-4cde-8177-6924c662aef4\n# For help, see: https://nodejs.org/en/docs/inspector\n# Debugger attached.\n# Waiting for the debugger to discon", "is_hemanth_target": 1, "style_metrics": {"directness": 0.5496, "hook_strength": 0.77, "zero_fluff": 1.0, "code_first": 1.0, "cadence": 1.0, "p_hemanth": 0.9405}, "split_hint": "val"}
{"id": "blog_365-days-of-github", "slug": "365-days-of-github", "task": "blog", "category": "opensource", "title": "365 Days of GitHub", "tags": ["github", "opensource"], "prompt": "<|task:blog|>\nTitle: 365 Days of GitHub\nCategory: opensource\nTags: github, opensource\nSummary: Learnings from 365 days of continuous GitHub contributions. Practical notes and code examples on 365 Days of GitHub by in JS.\n<|hemanth|>\n", "input_text": "365 Days of GitHub (opensource): Learnings from 365 days of continuous GitHub contributions. Practical notes and code examples on 365 Days of GitHub by in JS.", "target_text": "I've open sourced about 474 projects since 2008, and been part of larger projects like [Yeoman](https://github.com/yeoman), [Koa.js](https://github.com/koajs), and [git-extras](https://github.com/tj/git-extras).\n\n## Learnings from 365 Days\n\n- Don't over burn yourself!\n- Don't get anxious - it's just a streak\n- Start as many projects/orgs as you can, collaborate with humans\n- It took about 180 days for this to become a part of life\n- Make new mistakes in public - that's one of the finest ways to learn\n- Accept negative criticism with a smile\n- Ask people about their thoughts on IRC, Social Media\n- Make sure your projects have good READMEs!\n- Names of the repos matter a lot!\n- Don't wait for permission to send a PR or start an org\n- Thank people who helped you, out loud\n- Sometimes whatever you do need not be a success story\n- Pickup new stuff, experiment a lot!\n- Never stop! Getting burnt is common, but keep contributing", "is_hemanth_target": 1, "style_metrics": {"directness": 0.4674, "hook_strength": 0.77, "zero_fluff": 1.0, "code_first": 0.7111, "cadence": 1.0, "p_hemanth": 0.8915}, "split_hint": "val"}
{"id": "rewrite_word-frequency-mapreduce-python", "slug": "word-frequency-mapreduce-python", "task": "rewrite", "category": "web", "title": "Word Frequency With Mapreduce in Python", "prompt": "<|task:rewrite|>\nTopic: Word Frequency With Mapreduce in Python\nDraft:\nIn today's rapidly evolving web landscape, developers and organizations frequently encounter multifaceted challenges regarding Word Frequency With Mapreduce in Python. Specifically, when delving into this paradigm, it is important to comprehensively evaluate the following technical context: \"**MapReduce** is a programming framework popularized by Google and used to simplify data processing across massive data sets. As people rapidly increase their online activity and digital footprint, organizations are finding it vital to quickly analyze the huge amounts of data their customers and audiences generate to better understand and serve them.\" The Furthermore, leveraging a holistic methodology facilitates seamless developer productivity.\n<|hemanth|>\n", "input_text": "In today's rapidly evolving web landscape, developers and organizations frequently encounter multifaceted challenges regarding Word Frequency With Mapreduce in Python. Specifically, when delving into this paradigm, it is important to comprehensively evaluate the following technical context: \"**MapReduce** is a programming framework popularized by Google and used to simplify data processing across massive data sets. As people rapidly increase their online activity and digital footprint, organizations are finding it vital to quickly analyze the huge amounts of data their customers and audiences generate to better understand and serve them.\" The Furthermore, leveraging a holistic methodology facilitates seamless developer productivity.", "target_text": "\"**MapReduce** is a programming framework popularized by Google and used to simplify data processing across massive data sets. As people rapidly increase their online activity and digital footprint, organizations are finding it vital to quickly analyze the huge amounts of data their customers and audiences generate to better understand and serve them.\"\n\nThe algorithm fundamentally boils down to two crisp steps: **map** and **reduce**:\n\n- `map (k1, v1) -> list(k2, v2)`\n- `reduce (k2, list(v2)) -> list(v2)`", "is_hemanth_target": 1, "style_metrics": {"directness": 0.17, "hook_strength": 0.7164, "zero_fluff": 1.0, "code_first": 1.0, "cadence": 1.0, "p_hemanth": 0.8585}, "draft_metrics": {"directness": 0.17, "hook_strength": 0.5125, "zero_fluff": 0.103, "code_first": 0.35, "cadence": 1.0, "p_hemanth": 0.1405}, "split_hint": "val"}
{"id": "social_javascript-one-liner-extracting-unique-words-webpages", "slug": "javascript-one-liner-extracting-unique-words-webpages", "task": "social", "category": "javascript", "title": "JavaScript One Liner Extracting Unique Words From Webpages", "prompt": "<|task:social|>\nTitle: JavaScript One Liner Extracting Unique Words From Webpages\nCategory: javascript\nPost:\nUnlike [JSON parsing with ruby one-liner ?](http://h3manth.com/content/json-parsing-ruby-one-liner) this is indeed a very strong raw JavaScript one liner that /me managed to frame last weekend.\n\n**So what's the deal?**\n\nExtracting all the words in a given webpage, which later can be used to parse or search!\n<|hemanth|>\n", "input_text": "JavaScript One Liner Extracting Unique Words From Webpages\nUnlike [JSON parsing with ruby one-liner ?](http://h3manth.com/content/json-parsing-ruby-one-liner) this is indeed a very strong raw JavaScript one liner that /me managed to frame last weekend.\n\n**So what's the deal?**\n\nExtracting all the words in a given webpage, which later can be used to parse or search!", "target_text": "### LinkedIn\nJavaScript One Liner Extracting Unique Words From Webpages\n\nUnlike [JSON parsing with ruby one-liner ?](http://h3manth.com/content/json-parsing-ruby-one-liner) this is indeed a very strong raw JavaScript one liner that /me managed to frame last weekend.\n\n• Problem: Unlike JSON parsing with ruby one-liner ? this is indeed a very strong raw JavaScript one liner that /me managed to frame.\n• Takeaway: **So what's the deal?**\n\nFull breakdown: https://h3manth.com/scribe/javascript-one-liner-extracting-unique-words-webpages/\n\n#Ruby #Javascript #Web\n\n### Hacker News\nTitle: JavaScript One Liner Extracting Unique Words From Webpages\n\nUnlike [JSON parsing with ruby one-liner ?](http://h3manth.com/content/json-parsing-ruby-one-liner) this is indeed a very strong raw JavaScript one liner that /me managed to frame last weekend.\n\n**So what's the deal?**\n\nPost: https://h3manth.com/scribe/javascript-one-liner-extracting-unique-words-webpages/\n\n### Reddit\nTitle: JavaScript One Liner Extracting Unique Words From Webpages\n\nTL;DR:\n- Unlike [JSON parsing with ruby one-liner ?](http://h3manth.com/content/json-parsing-ruby-one-liner) this is indeed a very strong raw JavaScript one liner that /me managed to frame last weekend.\n- **So what's the deal?**\n\nBlog: https://h3manth.com/scribe/javascript-one-liner-extracting-unique-words-webpages/", "is_hemanth_target": 1, "style_metrics": {"directness": 0.2316, "hook_strength": 0.77, "zero_fluff": 1.0, "code_first": 0.6389, "cadence": 1.0, "p_hemanth": 0.8102}, "split_hint": "val"}
{"id": "critic_pos_introducing-slang-api", "slug": "introducing-slang-api", "task": "critic", "category": "javascript", "title": "Introducing the Slang API", "prompt": "<|task:critic|>\nText:\nLately was working on some slang filtering module, but for the LOLz of it made a simple JSON API.\n\nThe deal is pretty simple, the API takes in an SMS slang word and expands the acronym.\n\n**So, here is a simple jQuery code to get results :**\n<|hemanth|>\n", "input_text": "Lately was working on some slang filtering module, but for the LOLz of it made a simple JSON API.\n\nThe deal is pretty simple, the API takes in an SMS slang word and expands the acronym.\n\n**So, here is a simple jQuery code to get results :**", "target_text": "verdict: authentic_hemanth_voice (p_hemanth=0.74)\ndirectness=0.32 | hook=0.77 | zero_fluff=1.00 | code_first=0.35 | cadence=0.91\nnotes: Punchy practitioner hook, zero corporate filler, concrete examples.", "is_hemanth_target": 1, "style_metrics": {"directness": 0.3162, "hook_strength": 0.77, "zero_fluff": 1.0, "code_first": 0.35, "cadence": 0.9129, "p_hemanth": 0.7415}, "split_hint": "val"}
{"id": "critic_pos_making-promise-javascript", "slug": "making-promise-javascript", "task": "critic", "category": "javascript", "title": "Making a Promise With Javascript", "prompt": "<|task:critic|>\nText:\n[Chaining functions](http://www.h3manth.com/content/chaining-functions-javascript) in javascript is fun, so is the understanding of [Blaocking vs Non-Blocking](http://h3manth.com/content/blocking-vs-non-blocking-nodejs) code, but callback can soon end up in hell!\n\nTo save one from callback hell, normally named functions are preferred as save boats, but promises are more promising pattern!\n\nPromises are not a new to the world of computer science, many JS frameworks have made promises for quite so\n<|hemanth|>\n", "input_text": "[Chaining functions](http://www.h3manth.com/content/chaining-functions-javascript) in javascript is fun, so is the understanding of [Blaocking vs Non-Blocking](http://h3manth.com/content/blocking-vs-non-blocking-nodejs) code, but callback can soon end up in hell!\n\nTo save one from callback hell, normally named functions are preferred as save boats, but promises are more promising pattern!\n\nPromises are not a new to the world of computer science, many JS frameworks have made promises for quite so", "target_text": "verdict: authentic_hemanth_voice (p_hemanth=0.90)\ndirectness=0.54 | hook=1.00 | zero_fluff=1.00 | code_first=0.48 | cadence=0.93\nnotes: Punchy practitioner hook, zero corporate filler, concrete examples.", "is_hemanth_target": 1, "style_metrics": {"directness": 0.5398, "hook_strength": 1.0, "zero_fluff": 1.0, "code_first": 0.4848, "cadence": 0.926, "p_hemanth": 0.8996}, "split_hint": "val"}
{"id": "rewrite_thisarg-in-javascript", "slug": "thisarg-in-javascript", "task": "rewrite", "category": "javascript", "title": "thisArg in JavaScript", "prompt": "<|task:rewrite|>\nTopic: thisArg in JavaScript\nDraft:\nIn today's rapidly evolving javascript landscape, developers and organizations frequently encounter multifaceted challenges regarding thisArg in JavaScript. Specifically, when delving into this paradigm, it is important to comprehensively evaluate the following technical context: Not many are aware of `thisArg` that several built-in array methods have in their signature. If a `thisArg` parameter is provided, it will be used as the `this` value for each invocation of the callback function. If not provided, `undefined` is used instead. > **Note:** If the callback is an Arrow Function, `this` was lexically bound when the function was Furthermore, leveraging a holistic methodology facilitates seamless developer productivity.\n<|hemanth|>\n", "input_text": "In today's rapidly evolving javascript landscape, developers and organizations frequently encounter multifaceted challenges regarding thisArg in JavaScript. Specifically, when delving into this paradigm, it is important to comprehensively evaluate the following technical context: Not many are aware of `thisArg` that several built-in array methods have in their signature. If a `thisArg` parameter is provided, it will be used as the `this` value for each invocation of the callback function. If not provided, `undefined` is used instead. > **Note:** If the callback is an Arrow Function, `this` was lexically bound when the function was Furthermore, leveraging a holistic methodology facilitates seamless developer productivity.", "target_text": "Not many are aware of `thisArg` that several built-in array methods have in their signature.\n\nIf a `thisArg` parameter is provided, it will be used as the `this` value for each invocation of the callback function. If not provided, `undefined` is used instead.\n\n> **Note:** If the callback is an Arrow Function, `this` was lexically bound when the function was created, so `thisArg` will have no effect.", "is_hemanth_target": 1, "style_metrics": {"directness": 0.6953, "hook_strength": 1.0, "zero_fluff": 1.0, "code_first": 1.0, "cadence": 0.9057, "p_hemanth": 0.9661}, "draft_metrics": {"directness": 0.5693, "hook_strength": 0.5125, "zero_fluff": 0.1125, "code_first": 1.0, "cadence": 0.7693, "p_hemanth": 0.461}, "split_hint": "val"}
{"id": "blog_l33t-translator", "slug": "l33t-translator", "task": "blog", "category": "javascript", "title": "L33t Translator", "tags": ["javascript", "git", "web"], "prompt": "<|task:blog|>\nTitle: L33t Translator\nCategory: javascript\nTags: javascript, git, web\nSummary: Here I introduce a dynamic 733+ translator an on the fly translator similar to Google translate. Where i can see the in JS.\n<|hemanth|>\n", "input_text": "L33t Translator (javascript): Here I introduce a dynamic 733+ translator an on the fly translator similar to Google translate. Where i can see the in JS.", "target_text": "Here I introduce a dynamic 733+ translator an on the fly translator similar to Google translate.\n\n**Where i can see the translator in action?** You can here in the [demo page](http://www.h3manth.com/sites/files/l33t.html) [[ not much of an eyecandy ]]\n\n**What is l33t?** \"Leet, also known as eleet or leetspeak, is an alternative alphabet for the English language that is used primarily on the Internet. It uses various combinations of ASCII characters to replace Latinate letters. For example, leet spellings of the word leet include 1337 and l33t; eleet may be spelled 31337 or 3l33t.\" [[ wikipedia ]]\n\n**So how it works?** Its just a simple map of characters that is been replaced by a simple JavaScript function.\n\n**Where can i get the source of it?** Indeed view source :0) The code can be cloned from my script [repo](http://github.com/hemanth/futhark/raw/master/733+.html)\n\nP.S : Do leave your suggestions and comments below (:\n\n_Update:_ thanks to [Harsha](http://in.linkedin.com/pub/harsha-b-n/7/5/1a8) Senior Software Engineer at Yahoo! for identifying performance issues and suggesting suitable changes.\n\n_Update_ I made a service of the same [here](http://h3manth.com/t.php?hackers) where", "is_hemanth_target": 1, "style_metrics": {"directness": 0.2897, "hook_strength": 0.77, "zero_fluff": 1.0, "code_first": 0.35, "cadence": 1.0, "p_hemanth": 0.7535}, "split_hint": "val"}
{"id": "blog_inspecting-objects-scripting", "slug": "inspecting-objects-scripting", "task": "blog", "category": "python", "title": "Inspecting Objects in Scripting", "tags": ["ruby", "python", "javascript", "web"], "prompt": "<|task:blog|>\nTitle: Inspecting Objects in Scripting\nCategory: python\nTags: ruby, python, javascript, web\nSummary: Examine the contents of a class / object is one of most useful and repetitive tasks that most of the coder do while in JS.\n<|hemanth|>\n", "input_text": "Inspecting Objects in Scripting (python): Examine the contents of a class / object is one of most useful and repetitive tasks that most of the coder do while in JS.", "target_text": "Examine the contents of a class / object is one of most useful and repetitive tasks that most of the coder do while debugging.\n\nHere I try to focus on inspecting objects in scripting few of the major scripting languages that /me like.\n\nMainly **JavaScript, Python, Ruby and Perl** shall be covered in this article, feel free to suggest your ways to doing this.\n\n**Inspecting Objects in JavaScript :**\n\nCan easily be done with Object.keys() from ES5 that returns an array of strings containing the names of all enumerable properties of that object, but it's not very useful as it wont let you know the difference between the keys; Difference based on their values, so something like below must be done\n\n**A simple example :**\n\nvar info = { name: \"Hemanth\",\n \n \n url: \"http://h3manth.com/\", \n location : \"Earth\", \n get : function() {} \n };\n \n\nfunction inspect(o) {\n \n \n var a = []; \n Object.getOwnPropertyNames(o).forEach(function (k) { \n a.push(Object.getOwnPropertyDescriptor(o, k)); \n }); return a; \n \n\n}\n\ninspect(info) [ Object configurable: true enumerable: true value: \"http://h3manth.com/\" writa", "is_hemanth_target": 1, "style_metrics": {"directness": 0.17, "hook_strength": 0.77, "zero_fluff": 1.0, "code_first": 0.35, "cadence": 1.0, "p_hemanth": 0.6994}, "split_hint": "val"}
{"id": "rewrite_scribefont", "task": "rewrite", "category": "ai", "title": "Handwriting to installable OpenType vector font", "prompt": "<|task:rewrite|>\nTopic: Handwriting to installable OpenType vector font\nDraft:\nWe have developed a multi-tier handwriting vectorization pipeline capable of converting rasterized handwritten character samples into standard TrueType and OpenType font binaries utilizing cubic Bezier curve fitting and neural style conditioning.\n<|hemanth|>\n", "input_text": "We have developed a multi-tier handwriting vectorization pipeline capable of converting rasterized handwritten character samples into standard TrueType and OpenType font binaries utilizing cubic Bezier curve fitting and neural style conditioning.", "target_text": "Meet scribefont: turn a sample of your handwriting into a real, installable `.ttf` / `.otf` vector font.\n\nTwo ways to run it:\n- ⚡ Neural Style Encoder (PyTorch / Browser ONNX Int8): learns your stroke slant, x-height, and curves from a few sample letters and synthesizes the full alphabet.\n- 🚀 Zero-Dep Geometric Vectorizer (0 MB JS/Python): traces contours, fits smooth cubic Béziers, and packs binary OpenType tables directly in <1 ms/glyph.", "is_hemanth_target": 1, "style_metrics": {"directness": 0.5414, "hook_strength": 1.0, "zero_fluff": 1.0, "code_first": 1.0, "cadence": 0.8901, "p_hemanth": 0.9516}, "draft_metrics": {"directness": 0.1962, "hook_strength": 0.7345, "zero_fluff": 1.0, "code_first": 0.35, "cadence": 0.86, "p_hemanth": 0.6557}, "split_hint": "val"}
{"id": "critic_pos_how-get-info-about-all-nodes-network-ssh", "slug": "how-get-info-about-all-nodes-network-ssh", "task": "critic", "category": "linux", "title": "How to Get Info About All the Nodes in the Network via SSH ?", "prompt": "<|task:critic|>\nText:\n**Logic:** _1\\. Checking if the host is alive. 2\\. Getting info about them, via remote commands._\n\n**Steps:** _1\\. Prepare password free SSH access. 2\\. Make a simple script to get host info._\n\n**Prepare password free SSH access:** `$ssh-copy-id user@host` or cat ~/.ssh/id_dsa.pub | ssh user@remotehost 'cat >> ~/.ssh/authorized_keys\n<|hemanth|>\n", "input_text": "**Logic:** _1\\. Checking if the host is alive. 2\\. Getting info about them, via remote commands._\n\n**Steps:** _1\\. Prepare password free SSH access. 2\\. Make a simple script to get host info._\n\n**Prepare password free SSH access:** `$ssh-copy-id user@host` or cat ~/.ssh/id_dsa.pub | ssh user@remotehost 'cat >> ~/.ssh/authorized_keys", "target_text": "verdict: authentic_hemanth_voice (p_hemanth=0.94)\ndirectness=0.72 | hook=1.00 | zero_fluff=1.00 | code_first=0.55 | cadence=1.00\nnotes: Punchy practitioner hook, zero corporate filler, concrete examples.", "is_hemanth_target": 1, "style_metrics": {"directness": 0.7223, "hook_strength": 1.0, "zero_fluff": 1.0, "code_first": 0.5522, "cadence": 1.0, "p_hemanth": 0.9439}, "split_hint": "val"}
{"id": "blog_chaining-functions-javascript", "slug": "chaining-functions-javascript", "task": "blog", "category": "javascript", "title": "Chaining Functions in Javascript", "tags": ["ruby", "javascript"], "prompt": "<|task:blog|>\nTitle: Chaining Functions in Javascript\nCategory: javascript\nTags: ruby, javascript\nSummary: Most of us are aware of the all famous Jquery demo $(’p.neat’).addClass(’ohmy’).show(’slow’); which is a gem of an example.\n<|hemanth|>\n", "input_text": "Chaining Functions in Javascript (javascript): Most of us are aware of the all famous Jquery demo $(’p.neat’).addClass(’ohmy’).show(’slow’); which is a gem of an example.", "target_text": "Most of us are aware of the all famous Jquery demo $(\"p.neat\").addClass(\"ohmy\").show(\"slow\"); which is a gem of an example of chaining functions.\n\nThere are many resources out their on which demonstrates various ways of chaining javascript function but, I always like to explore my own ways of doing things, let people call it re-inventing the wheel, but like doing that I like to make my own wheel! [ Enough of Nihilism! ]\n\nBelow is a simple code that /me managed to pull, which is closest to the Jquery demo and as always there might be better ways of doing the same, do let me know your way of doing this.\n\n$ = (function (document) {\n \n \n var self = '';\n return {\n get: function (selector) {\n self = document.querySelector(selector);\n return this;\n },\n addClass: function (new_class) {\n self.classList.add(new_class);\n return this;\n },\n show: function () {\n var displayVal = window.getComputedStyle(self).display;\n if(displayVal === 'none') self.style.display = \"inherit\";\n return this;\n },\n hide: function () {\n var displayVal = window.getCompute", "is_hemanth_target": 1, "style_metrics": {"directness": 0.1962, "hook_strength": 0.77, "zero_fluff": 1.0, "code_first": 0.35, "cadence": 1.0, "p_hemanth": 0.7118}, "split_hint": "val"}
{"id": "rewrite_tweaking-command-not-found", "slug": "tweaking-command-not-found", "task": "rewrite", "category": "python", "title": "Tweaking Command Not Found", "prompt": "<|task:rewrite|>\nTopic: Tweaking Command Not Found\nDraft:\nIn today's rapidly evolving python landscape, developers and organizations frequently encounter multifaceted challenges regarding Tweaking Command Not Found. Specifically, when delving into this paradigm, it is important to comprehensively evaluate the following technical context: Most of the time in ubuntu, when we come across the message like : The program 'program_name' is currently not installed. You can install it by typing: sudo apt-get install program_name ``` We would end-up doing **\"sudo apt-get install program_name\"** and installing it. This repeats so why not automate the same? Solving this question, I had to do the be Furthermore, leveraging a holistic methodology facilitates seamless developer productivity.\n<|hemanth|>\n", "input_text": "In today's rapidly evolving python landscape, developers and organizations frequently encounter multifaceted challenges regarding Tweaking Command Not Found. Specifically, when delving into this paradigm, it is important to comprehensively evaluate the following technical context: Most of the time in ubuntu, when we come across the message like : The program 'program_name' is currently not installed. You can install it by typing: sudo apt-get install program_name ``` We would end-up doing **\"sudo apt-get install program_name\"** and installing it. This repeats so why not automate the same? Solving this question, I had to do the be Furthermore, leveraging a holistic methodology facilitates seamless developer productivity.", "target_text": "Most of the time in ubuntu, when we come across the message like : \nThe program 'program_name' is currently not installed. You can install it by typing:\nsudo apt-get install program_name\n```\n\nWe would end-up doing **\"sudo apt-get install program_name\"** and installing it.\n\nThis repeats so why not automate the same? Solving this question, I had to do the below :", "is_hemanth_target": 1, "style_metrics": {"directness": 0.7444, "hook_strength": 0.9527, "zero_fluff": 1.0, "code_first": 0.35, "cadence": 0.8965, "p_hemanth": 0.9104}, "draft_metrics": {"directness": 0.5562, "hook_strength": 0.5125, "zero_fluff": 0.1173, "code_first": 0.35, "cadence": 0.784, "p_hemanth": 0.2309}, "split_hint": "val"}
{"id": "rewrite_chaining-functions-javascript", "slug": "chaining-functions-javascript", "task": "rewrite", "category": "javascript", "title": "Chaining Functions in Javascript", "prompt": "<|task:rewrite|>\nTopic: Chaining Functions in Javascript\nDraft:\nIn today's rapidly evolving javascript landscape, developers and organizations frequently encounter multifaceted challenges regarding Chaining Functions in Javascript. Specifically, when delving into this paradigm, it is important to comprehensively evaluate the following technical context: Most of us are aware of the all famous Jquery demo $(\"p.neat\").addClass(\"ohmy\").show(\"slow\"); which is a gem of an example of chaining functions. There are many resources out their on which demonstrates various ways of chaining javascript function but, I always like to explore my own ways of doing things, let people call it re-inventing the wheel, but like Furthermore, leveraging a holistic methodology facilitates seamless developer productivity.\n<|hemanth|>\n", "input_text": "In today's rapidly evolving javascript landscape, developers and organizations frequently encounter multifaceted challenges regarding Chaining Functions in Javascript. Specifically, when delving into this paradigm, it is important to comprehensively evaluate the following technical context: Most of us are aware of the all famous Jquery demo $(\"p.neat\").addClass(\"ohmy\").show(\"slow\"); which is a gem of an example of chaining functions. There are many resources out their on which demonstrates various ways of chaining javascript function but, I always like to explore my own ways of doing things, let people call it re-inventing the wheel, but like Furthermore, leveraging a holistic methodology facilitates seamless developer productivity.", "target_text": "Most of us are aware of the all famous Jquery demo $(\"p.neat\").addClass(\"ohmy\").show(\"slow\"); which is a gem of an example of chaining functions.\n\nThere are many resources out their on which demonstrates various ways of chaining javascript function but, I always like to explore my own ways of doing things, let people call it re-inventing the wheel, but like doing that I like to make my own wheel! [ Enough of Nihilism! ]\n\nBelow is a simple code that /me managed to pull, which is closest to the Jquery demo and as always there might be better ways of doing the same, do let me know your way of doing this.", "is_hemanth_target": 1, "style_metrics": {"directness": 0.3107, "hook_strength": 0.77, "zero_fluff": 1.0, "code_first": 0.35, "cadence": 1.0, "p_hemanth": 0.7623}, "draft_metrics": {"directness": 0.17, "hook_strength": 0.5125, "zero_fluff": 0.1245, "code_first": 0.35, "cadence": 1.0, "p_hemanth": 0.147}, "split_hint": "val"}
{"id": "blog_thisarg-in-javascript", "slug": "thisarg-in-javascript", "task": "blog", "category": "javascript", "title": "thisArg in JavaScript", "tags": ["javascript"], "prompt": "<|task:blog|>\nTitle: thisArg in JavaScript\nCategory: javascript\nTags: javascript\nSummary: Understanding the thisArg parameter in JavaScript array methods. Practical notes and code examples on thisArg in JavaScript.\n<|hemanth|>\n", "input_text": "thisArg in JavaScript (javascript): Understanding the thisArg parameter in JavaScript array methods. Practical notes and code examples on thisArg in JavaScript.", "target_text": "Not many are aware of `thisArg` that several built-in array methods have in their signature.\n\nIf a `thisArg` parameter is provided, it will be used as the `this` value for each invocation of the callback function. If not provided, `undefined` is used instead.\n\n> **Note:** If the callback is an Arrow Function, `this` was lexically bound when the function was created, so `thisArg` will have no effect.\n\n## Methods with thisArg\n\n- `Array.from(arrayLike [, mapfn [, thisArg]])`\n- `Array.prototype.every(callbackfn [, thisArg])`\n- `Array.prototype.filter(callbackfn [, thisArg])`\n- `Array.prototype.find(predicate [, thisArg])`\n- `Array.prototype.findIndex(predicate [, thisArg])`\n- `Array.prototype.forEach(callbackfn [, thisArg])`\n- `Array.prototype.map(callbackfn [, thisArg])`\n- `Array.prototype.some(callbackfn [, thisArg])`\n\n## Example: forEach\n\n```javascript\nlet jedi = {\n name: 'yoda',\n height: '66cms',\n mass: '17 kgs'\n};\n\n### Without thisArg\njavascript\nObject.keys(jedi).forEach(function(key) {\n console.log(jedi[key]);\n});\n\n### With thisArg\njavascript\nObject.keys(jedi).forEach(function(key) {\n // |this| now refers to `jedi`\n console.log(this[key]);\n}, jedi); // last arg is `thisArg`", "is_hemanth_target": 1, "style_metrics": {"directness": 0.2093, "hook_strength": 1.0, "zero_fluff": 1.0, "code_first": 1.0, "cadence": 1.0, "p_hemanth": 0.9151}, "split_hint": "val"}
{"id": "blog_ants-journey-planet-called-ibm", "slug": "ants-journey-planet-called-ibm", "task": "blog", "category": "linux", "title": "An Ants Journey in a Planet Called IBM", "tags": ["linux", "opensource"], "prompt": "<|task:blog|>\nTitle: An Ants Journey in a Planet Called IBM\nCategory: linux\nTags: linux, opensource\nSummary: Most of us would have attended many conferences and seminars, with an agenda a topic too and yes indeed lunch and back home.\n<|hemanth|>\n", "input_text": "An Ants Journey in a Planet Called IBM (linux): Most of us would have attended many conferences and seminars, with an agenda a topic too and yes indeed lunch and back home.", "target_text": "Most of us would have attended many conferences and seminars, with an agenda a topic too and yes indeed lunch and back home, but it was a year back when i read the mail which said , \"Come, join this innovative unconference session anchored by IBM developerWorks. Because You Matter. \", it was called Unconference!\n\nWondering what an Unconference is i asked Mr.Google who had then returned an IBM link to the same event! But today there are many links, wikis and many other social networking updates on the same, the same is making it clear what impact does an Unconference can have.\n\nMy first experience was in 2009 September 15 @ Dayanand Sagar College, i was just out of my college then and had been there to talk about a topic called \"Open minds, Open source\", was more of software philoshopy than technical speech, which i thought could be categorized in others, as there were 5 categories \"Smart work\", \"Dynamic Infra structure\", \"New Intelligence\", \"Green IT\" and \"Others\".\n\nWith all excitement i reached and at the registration a fair lady asked me, \"Sir, where do you work?\", i said i'm a free software activist i work for myself [ /me with young blood then ], thought she would laugh at me a", "is_hemanth_target": 1, "style_metrics": {"directness": 0.2616, "hook_strength": 0.6809, "zero_fluff": 1.0, "code_first": 0.35, "cadence": 1.0, "p_hemanth": 0.7112}, "split_hint": "val"}
{"id": "blog_parsing-query-string-javascript", "slug": "parsing-query-string-javascript", "task": "blog", "category": "javascript", "title": "Parsing Query String in Javascript", "tags": ["javascript", "web"], "prompt": "<|task:blog|>\nTitle: Parsing Query String in Javascript\nCategory: javascript\nTags: javascript, web\nSummary: Well there are hell lot of solution out there for parsing query strings in javascript, but still /me managed to make my own.\n<|hemanth|>\n", "input_text": "Parsing Query String in Javascript (javascript): Well there are hell lot of solution out there for parsing query strings in javascript, but still /me managed to make my own.", "target_text": "Well there are hell lot of solution out there for parsing query strings in javascript, but still /me managed to make my own function!\n\nparams = (function () {\n \n \n res = {};\n \n window.location.search.replace(\"?\",\"\").split('&').map(\n \n function (q) {\n var v = q.split('=');\n res[v[0]] = v[1];\n });\n \n return res;\n \n\n})(); \n\nLet's break it down!\n\nThe above code is an immediate function invokation that results a result object, which is stored in params.\n\nWe may pass params to a javascript like `http://example.com/show.js?query_string`\n\nWhere the query_string is a key, value pair like : `field1=value1&field2=value2&field3=value3...`\n\nFor better understanding, consider an example where the window.location is something like below :\n\nhttp://www.example.com/post.php?foo=bar&hello=world\n\nNow, window.location.search.replace(\"?\",\"\").split('&') will result an array like [\"foo=bar\", \"hello=world\"] i.e after filtering \"?\" and splitting over \"&\"\n\nThe resultant array is applied with a function which splits each element of an array with '=' and the key, value pair is populated to the result object and then finally the result object is returned, which get", "is_hemanth_target": 1, "style_metrics": {"directness": 0.2316, "hook_strength": 1.0, "zero_fluff": 1.0, "code_first": 0.8953, "cadence": 1.0, "p_hemanth": 0.9054}, "split_hint": "val"}
{"id": "rewrite_inspecting-objects-scripting", "slug": "inspecting-objects-scripting", "task": "rewrite", "category": "python", "title": "Inspecting Objects in Scripting", "prompt": "<|task:rewrite|>\nTopic: Inspecting Objects in Scripting\nDraft:\nIn today's rapidly evolving python landscape, developers and organizations frequently encounter multifaceted challenges regarding Inspecting Objects in Scripting. Specifically, when delving into this paradigm, it is important to comprehensively evaluate the following technical context: Examine the contents of a class / object is one of most useful and repetitive tasks that most of the coder do while debugging. Here I try to focus on inspecting objects in scripting few of the major scripting languages that /me like. Mainly **JavaScript, Python, Ruby and Perl** shall be covered in this article, feel free to suggest your ways to doing this. Furthermore, leveraging a holistic methodology facilitates seamless developer productivity.\n<|hemanth|>\n", "input_text": "In today's rapidly evolving python landscape, developers and organizations frequently encounter multifaceted challenges regarding Inspecting Objects in Scripting. Specifically, when delving into this paradigm, it is important to comprehensively evaluate the following technical context: Examine the contents of a class / object is one of most useful and repetitive tasks that most of the coder do while debugging. Here I try to focus on inspecting objects in scripting few of the major scripting languages that /me like. Mainly **JavaScript, Python, Ruby and Perl** shall be covered in this article, feel free to suggest your ways to doing this. Furthermore, leveraging a holistic methodology facilitates seamless developer productivity.", "target_text": "Examine the contents of a class / object is one of most useful and repetitive tasks that most of the coder do while debugging.\n\nHere I try to focus on inspecting objects in scripting few of the major scripting languages that /me like.\n\nMainly **JavaScript, Python, Ruby and Perl** shall be covered in this article, feel free to suggest your ways to doing this.", "is_hemanth_target": 1, "style_metrics": {"directness": 0.5562, "hook_strength": 0.77, "zero_fluff": 1.0, "code_first": 0.35, "cadence": 0.6967, "p_hemanth": 0.7846}, "draft_metrics": {"directness": 0.5431, "hook_strength": 0.5125, "zero_fluff": 0.1221, "code_first": 0.35, "cadence": 0.784, "p_hemanth": 0.2277}, "split_hint": "val"}
{"id": "rewrite_reading-logs-made-easy-bash", "slug": "reading-logs-made-easy-bash", "task": "rewrite", "category": "linux", "title": "Reading Logs Made Easy With Bash.", "prompt": "<|task:rewrite|>\nTopic: Reading Logs Made Easy With Bash.\nDraft:\nIn today's rapidly evolving linux landscape, developers and organizations frequently encounter multifaceted challenges regarding Reading Logs Made Easy With Bash.. Specifically, when delving into this paradigm, it is important to comprehensively evaluate the following technical context: Most of the web programmers would normally look into their applications/server error logs when they find issues, indeed it's a pain when the log path is filled with directories, it's sometimes annoying to do an ls -l and look for the latest directory and then cd it, a bit better case is when one tab_completes to change directories. It would be very easy if Furthermore, leveraging a holistic methodology facilitates seamless developer productivity.\n<|hemanth|>\n", "input_text": "In today's rapidly evolving linux landscape, developers and organizations frequently encounter multifaceted challenges regarding Reading Logs Made Easy With Bash.. Specifically, when delving into this paradigm, it is important to comprehensively evaluate the following technical context: Most of the web programmers would normally look into their applications/server error logs when they find issues, indeed it's a pain when the log path is filled with directories, it's sometimes annoying to do an ls -l and look for the latest directory and then cd it, a bit better case is when one tab_completes to change directories. It would be very easy if Furthermore, leveraging a holistic methodology facilitates seamless developer productivity.", "target_text": "Most of the web programmers would normally look into their applications/server error logs when they find issues, indeed it's a pain when the log path is filled with directories, it's sometimes annoying to do an ls -l and look for the latest directory and then cd it, a bit better case is when one tab_completes to change directories.\n\nIt would be very easy if we could **cdn** as in cd to the new dir ;)\n\nSo /me tired some silly script that would make my life easier, do add it to your ~/.bash.rc if we like it!", "is_hemanth_target": 1, "style_metrics": {"directness": 0.17, "hook_strength": 0.4155, "zero_fluff": 1.0, "code_first": 0.35, "cadence": 1.0, "p_hemanth": 0.5593}, "draft_metrics": {"directness": 0.17, "hook_strength": 0.5125, "zero_fluff": 0.1365, "code_first": 0.35, "cadence": 1.0, "p_hemanth": 0.1508}, "split_hint": "val"}
{"id": "blog_word-frequency-mapreduce-python", "slug": "word-frequency-mapreduce-python", "task": "blog", "category": "web", "title": "Word Frequency With Mapreduce in Python", "tags": ["python", "mapreduce", "algorithms"], "prompt": "<|task:blog|>\nTitle: Word Frequency With Mapreduce in Python\nCategory: web\nTags: python, mapreduce, algorithms\nSummary: Implementing Google’s MapReduce programming model in Python to compute word frequency counts across text documents using.\n<|hemanth|>\n", "input_text": "Word Frequency With Mapreduce in Python (web): Implementing Google’s MapReduce programming model in Python to compute word frequency counts across text documents using.", "target_text": "\"**MapReduce** is a programming framework popularized by Google and used to simplify data processing across massive data sets. As people rapidly increase their online activity and digital footprint, organizations are finding it vital to quickly analyze the huge amounts of data their customers and audiences generate to better understand and serve them.\"\n\nThe algorithm fundamentally boils down to two crisp steps: **map** and **reduce**:\n\n- `map (k1, v1) -> list(k2, v2)`\n- `reduce (k2, list(v2)) -> list(v2)`\n\nThe canonical example of MapReduce is as below:\n\n```c\nvoid map(String name, String document):\n // name: document name\n // document: document contents\n for each word w in document:\n EmitIntermediate(w, \"1\");\n\nvoid reduce(String word, Iterator partialCounts):\n // word: a word\n // partialCounts: a list of aggregated partial counts\n int sum = 0;\n for each pc in partialCounts:\n sum += ParseInt(pc);\n Emit(word, AsString(sum));\n```\n\nHere is the self-explanatory **Python code**:\n\n```python\n#!/usr/bin/python2.6\n# Copyright [2011] Hemanth.HM\n# Licensed under the Apache License, Version 2.0\n\nimport collections\nimport string\n\n__authors__ = \"Hemanth HM <hemanth.hm@gmail.com>\"\n__", "is_hemanth_target": 1, "style_metrics": {"directness": 0.17, "hook_strength": 0.7164, "zero_fluff": 1.0, "code_first": 1.0, "cadence": 1.0, "p_hemanth": 0.8585}, "split_hint": "val"}
{"id": "social_tweaking-command-not-found", "slug": "tweaking-command-not-found", "task": "social", "category": "python", "title": "Tweaking Command Not Found", "prompt": "<|task:social|>\nTitle: Tweaking Command Not Found\nCategory: python\nPost:\nMost of the time in ubuntu, when we come across the message like : \nThe program 'program_name' is currently not installed. You can install it by typing:\nsudo apt-get install program_name\n```\n\nWe would end-up doing **\"sudo apt-get install program_name\"** and installing it.\n\nThis repeats so why not automate the same? Solving this question, I had to do the below :\n<|hemanth|>\n", "input_text": "Tweaking Command Not Found\nMost of the time in ubuntu, when we come across the message like : \nThe program 'program_name' is currently not installed. You can install it by typing:\nsudo apt-get install program_name\n```\n\nWe would end-up doing **\"sudo apt-get install program_name\"** and installing it.\n\nThis repeats so why not automate the same? Solving this question, I had to do the below :", "target_text": "### LinkedIn\nTweaking Command Not Found\n\nMost of the time in ubuntu, when we come across the message like : The program 'program_name' is currently not installed. You can install it by typing: sudo apt-get install program_name\n\n• Problem: Most of the time in ubuntu, when we come across the message like : The program ’program_name’ is currently not installed.\n• Takeaway: We would end-up doing **\"sudo apt-get install program_name\"** and installing it.\n\nFull breakdown: https://h3manth.com/scribe/tweaking-command-not-found/\n\n#Python\n\n### Hacker News\nTitle: Tweaking Command Not Found\n\nMost of the time in ubuntu, when we come across the message like : The program 'program_name' is currently not installed. You can install it by typing: sudo apt-get install program_name\n\nWe would end-up doing **\"sudo apt-get install program_name\"** and installing it.\n\nPost: https://h3manth.com/scribe/tweaking-command-not-found/\n\n### Reddit\nTitle: Tweaking Command Not Found\n\nTL;DR:\n- Most of the time in ubuntu, when we come across the message like : The program 'program_name' is currently not installed. You can install it by typing: sudo apt-get install program_name\n- We would end-up doing **\"sudo apt-get install program_name\"** and installing it.\n\nBlog: https://h3manth.com/scribe/tweaking-command-not-found/", "is_hemanth_target": 1, "style_metrics": {"directness": 0.4746, "hook_strength": 0.77, "zero_fluff": 1.0, "code_first": 0.6389, "cadence": 1.0, "p_hemanth": 0.8814}, "split_hint": "val"}
{"id": "blog_figlr-ascii-art-fly", "slug": "figlr-ascii-art-fly", "task": "blog", "category": "javascript", "title": "Figlr ASCII Art on Fly", "tags": ["javascript", "web"], "prompt": "<|task:blog|>\nTitle: Figlr ASCII Art on Fly\nCategory: javascript\nTags: javascript, web\nSummary: Figlr is a simple fun tool to generate FIGlet text. Those are normally used to make ASCII art banners. It makes use of in JS.\n<|hemanth|>\n", "input_text": "Figlr ASCII Art on Fly (javascript): Figlr is a simple fun tool to generate FIGlet text. Those are normally used to make ASCII art banners. It makes use of in JS.", "target_text": "Figlr is a simple fun tool to generate FIGlet text. Those are normally used to make ASCII art banners.\n\nIt makes use of Figlet-JS which is a JavaScript implementation of a FIGdriver and is also available as a Node module and a jQuery plugin.\n\n**The code :** The code is a simple javascript trick, to listen on the paste and keyup events from a text area and populate a pre tag with the FIGlet text.\n \n \n $(function(){\n $('#fig').live('keyup paste',function(evt){\n $(\"#ofig\").figlet($.trim(this.value));\n }); \n });\n \n\nCheck out the **[Demo here](http://www.screenr.com/embed/U2Ws)** and try [FIGLR here](http://www.h3manth.com/figlet/figlr.html).\n\nIf this was fun, do check [L33t Translator](http://h3manth.com/content/l33t-translator)", "is_hemanth_target": 1, "style_metrics": {"directness": 0.5725, "hook_strength": 0.77, "zero_fluff": 1.0, "code_first": 0.35, "cadence": 1.0, "p_hemanth": 0.8535}, "split_hint": "val"}
{"id": "rewrite_auto-require-ruby-gems", "slug": "auto-require-ruby-gems", "task": "rewrite", "category": "ruby", "title": "Auto Require Ruby Gems", "prompt": "<|task:rewrite|>\nTopic: Auto Require Ruby Gems\nDraft:\nIn today's rapidly evolving ruby landscape, developers and organizations frequently encounter multifaceted challenges regarding Auto Require Ruby Gems. Specifically, when delving into this paradigm, it is important to comprehensively evaluate the following technical context: A simple trick to auto-install missing gems when requiring: ```ruby alias old_require require def load_gem(gem) old_require gem rescue LoadError => e print \"'#{gem}' can't be found, trying to install it...\" system(\"gem install #{gem} --no-ri --no-rdoc\") Gem.clear_paths() && require(gem) && puts(\"loading '#{gem}' ok!\") end Furthermore, leveraging a holistic methodology facilitates seamless developer productivity.\n<|hemanth|>\n", "input_text": "In today's rapidly evolving ruby landscape, developers and organizations frequently encounter multifaceted challenges regarding Auto Require Ruby Gems. Specifically, when delving into this paradigm, it is important to comprehensively evaluate the following technical context: A simple trick to auto-install missing gems when requiring: ```ruby alias old_require require def load_gem(gem) old_require gem rescue LoadError => e print \"'#{gem}' can't be found, trying to install it...\" system(\"gem install #{gem} --no-ri --no-rdoc\") Gem.clear_paths() && require(gem) && puts(\"loading '#{gem}' ok!\") end Furthermore, leveraging a holistic methodology facilitates seamless developer productivity.", "target_text": "A simple trick to auto-install missing gems when requiring:\n\n```ruby\nalias old_require require\n\ndef load_gem(gem)\n old_require gem\nrescue LoadError => e\n print \"'#{gem}' can't be found, trying to install it...\"\n system(\"gem install #{gem} --no-ri --no-rdoc\")\n Gem.clear_paths() && require(gem) && puts(\"loading '#{gem}' ok!\")\nend", "is_hemanth_target": 1, "style_metrics": {"directness": 0.17, "hook_strength": 0.77, "zero_fluff": 1.0, "code_first": 0.35, "cadence": 0.86, "p_hemanth": 0.6559}, "draft_metrics": {"directness": 0.17, "hook_strength": 0.5125, "zero_fluff": 0.089, "code_first": 0.35, "cadence": 1.0, "p_hemanth": 0.1363}, "split_hint": "val"}
{"id": "critic_pos_ucpify-json-to-commerce-server", "slug": "ucpify-json-to-commerce-server", "task": "critic", "category": "javascript", "title": "ucpify: JSON → Commerce Server in Seconds", "prompt": "<|task:critic|>\nText:\nSay you're a small business. You have a product catalog, maybe as a spreadsheet or a JSON file. You want to sell online. But building a commerce backend means dealing with payment APIs, database schemas, input validation, webhook handlers. That's a lot of engineering for \"I just want to sell t-shirts.\"\n\n**ucpify** takes a single JSON file with your products, shipping options, and payment config and gives you a fully working commerce server. UCP-compliant, Stripe and PayPal ready, SQLite persiste\n<|hemanth|>\n", "input_text": "Say you're a small business. You have a product catalog, maybe as a spreadsheet or a JSON file. You want to sell online. But building a commerce backend means dealing with payment APIs, database schemas, input validation, webhook handlers. That's a lot of engineering for \"I just want to sell t-shirts.\"\n\n**ucpify** takes a single JSON file with your products, shipping options, and payment config and gives you a fully working commerce server. UCP-compliant, Stripe and PayPal ready, SQLite persiste", "target_text": "verdict: authentic_hemanth_voice (p_hemanth=0.91)\ndirectness=0.88 | hook=0.50 | zero_fluff=1.00 | code_first=0.53 | cadence=0.98\nnotes: Punchy practitioner hook, zero corporate filler, concrete examples.", "is_hemanth_target": 1, "style_metrics": {"directness": 0.8796, "hook_strength": 0.4982, "zero_fluff": 1.0, "code_first": 0.5306, "cadence": 0.9808, "p_hemanth": 0.9057}, "split_hint": "val"}
{"id": "blog_my-experience-p2pu", "slug": "my-experience-p2pu", "task": "blog", "category": "web", "title": "My Experience With P2pu", "tags": ["web"], "prompt": "<|task:blog|>\nTitle: My Experience With P2pu\nCategory: web\nTags: web\nSummary: p2pu Learning for everyone, by everyone, about almost anything. ’The Peer 2 Peer University (P2PU) is an online community.\n<|hemanth|>\n", "input_text": "My Experience With P2pu (web): p2pu Learning for everyone, by everyone, about almost anything. ’The Peer 2 Peer University (P2PU) is an online community.", "target_text": "**p2pu Learning for everyone, by everyone, about almost anything.** _\"The Peer 2 Peer University (P2PU) is an online community of open study groups for short university-level courses. Think of it as online book clubs for open educational resources.\"_\n\nI heard about p2pu _@Mozilla Bangalore DevDay 2010_ from the Mozilla Drumbbeat team there were [Lucian Teo](http://tribolum.com/) and [Jhon Britton](http://www.johndbritton.com/) spoke about p2pu and i was really interested in the new concept meet them in the networking break [ /me rather the long lunch queue ;)]. Got great shoots from Lucian's [cam](http://www.flickr.com/photos/annegirl/sets/72157623526144886/), came home and checked the site mentioned by them it's called [ and was browsing through many courses there and the one which struck my frequency was [Mashing Up The Open Web](http://p2pu.org/mashing-open-web-mar-2010) Manager was John Britton. _The project details:_ _Prerequisites: * Basic Knowledge of HTML/CSS and static web page creation. * Basic Knowledge of JavaScript Good to Know (AKA What you might learn) * jQuery or similar JS Framework * Server side scripting (PHP, Ruby, Python, etc) * Open Datasets that would be usef", "is_hemanth_target": 1, "style_metrics": {"directness": 0.17, "hook_strength": 0.8818, "zero_fluff": 1.0, "code_first": 0.35, "cadence": 1.0, "p_hemanth": 0.738}, "split_hint": "val"}
{"id": "rewrite_figlr-ascii-art-fly", "slug": "figlr-ascii-art-fly", "task": "rewrite", "category": "javascript", "title": "Figlr ASCII Art on Fly", "prompt": "<|task:rewrite|>\nTopic: Figlr ASCII Art on Fly\nDraft:\nIn today's rapidly evolving javascript landscape, developers and organizations frequently encounter multifaceted challenges regarding Figlr ASCII Art on Fly. Specifically, when delving into this paradigm, it is important to comprehensively evaluate the following technical context: Figlr is a simple fun tool to generate FIGlet text. Those are normally used to make ASCII art banners. It makes use of Figlet-JS which is a JavaScript implementation of a FIGdriver and is also available as a Node module and a jQuery plugin. **The code :** The code is a simple javascript trick, to listen on the paste and keyup events from a text area and po Furthermore, leveraging a holistic methodology facilitates seamless developer productivity.\n<|hemanth|>\n", "input_text": "In today's rapidly evolving javascript landscape, developers and organizations frequently encounter multifaceted challenges regarding Figlr ASCII Art on Fly. Specifically, when delving into this paradigm, it is important to comprehensively evaluate the following technical context: Figlr is a simple fun tool to generate FIGlet text. Those are normally used to make ASCII art banners. It makes use of Figlet-JS which is a JavaScript implementation of a FIGdriver and is also available as a Node module and a jQuery plugin. **The code :** The code is a simple javascript trick, to listen on the paste and keyup events from a text area and po Furthermore, leveraging a holistic methodology facilitates seamless developer productivity.", "target_text": "Figlr is a simple fun tool to generate FIGlet text. Those are normally used to make ASCII art banners.\n\nIt makes use of Figlet-JS which is a JavaScript implementation of a FIGdriver and is also available as a Node module and a jQuery plugin.\n\n**The code :** The code is a simple javascript trick, to listen on the paste and keyup events from a text area and populate a pre tag with the FIGlet text.\n \n \n $(function(){\n $('#fig').live('keyup paste',function(evt){\n $(\"#ofig\").figlet($.trim(this.value));\n }); \n });", "is_hemanth_target": 1, "style_metrics": {"directness": 0.674, "hook_strength": 0.77, "zero_fluff": 1.0, "code_first": 0.35, "cadence": 1.0, "p_hemanth": 0.8801}, "draft_metrics": {"directness": 0.5038, "hook_strength": 0.5125, "zero_fluff": 0.1365, "code_first": 0.35, "cadence": 0.7623, "p_hemanth": 0.2131}, "split_hint": "val"}
{"id": "rewrite_parsing-query-string-javascript", "slug": "parsing-query-string-javascript", "task": "rewrite", "category": "javascript", "title": "Parsing Query String in Javascript", "prompt": "<|task:rewrite|>\nTopic: Parsing Query String in Javascript\nDraft:\nIn today's rapidly evolving javascript landscape, developers and organizations frequently encounter multifaceted challenges regarding Parsing Query String in Javascript. Specifically, when delving into this paradigm, it is important to comprehensively evaluate the following technical context: Well there are hell lot of solution out there for parsing query strings in javascript, but still /me managed to make my own function! params = (function () { res = {}; window.location.search.replace(\"?\",\"\").split('&').map( function (q) { var v = q.split('='); res[v[0]] = v[1]; }); return res; Furthermore, leveraging a holistic methodology facilitates seamless developer productivity.\n<|hemanth|>\n", "input_text": "In today's rapidly evolving javascript landscape, developers and organizations frequently encounter multifaceted challenges regarding Parsing Query String in Javascript. Specifically, when delving into this paradigm, it is important to comprehensively evaluate the following technical context: Well there are hell lot of solution out there for parsing query strings in javascript, but still /me managed to make my own function! params = (function () { res = {}; window.location.search.replace(\"?\",\"\").split('&').map( function (q) { var v = q.split('='); res[v[0]] = v[1]; }); return res; Furthermore, leveraging a holistic methodology facilitates seamless developer productivity.", "target_text": "Well there are hell lot of solution out there for parsing query strings in javascript, but still /me managed to make my own function!\n\nparams = (function () {\n \n \n res = {};\n \n window.location.search.replace(\"?\",\"\").split('&').map(\n \n function (q) {\n var v = q.split('=');\n res[v[0]] = v[1];\n });\n \n return res;\n \n\n})();", "is_hemanth_target": 1, "style_metrics": {"directness": 0.4907, "hook_strength": 1.0, "zero_fluff": 1.0, "code_first": 0.35, "cadence": 0.6235, "p_hemanth": 0.8073}, "draft_metrics": {"directness": 0.2507, "hook_strength": 0.5125, "zero_fluff": 0.0844, "code_first": 0.35, "cadence": 1.0, "p_hemanth": 0.158}, "split_hint": "val"}
{"id": "blog_tweaking-command-not-found", "slug": "tweaking-command-not-found", "task": "blog", "category": "python", "title": "Tweaking Command Not Found", "tags": ["python"], "prompt": "<|task:blog|>\nTitle: Tweaking Command Not Found\nCategory: python\nTags: python\nSummary: Most of the time in ubuntu, when we come across the message like : The program ’program_name’ is currently not installed.\n<|hemanth|>\n", "input_text": "Tweaking Command Not Found (python): Most of the time in ubuntu, when we come across the message like : The program ’program_name’ is currently not installed.", "target_text": "Most of the time in ubuntu, when we come across the message like : \nThe program 'program_name' is currently not installed. You can install it by typing:\nsudo apt-get install program_name\n```\n\nWe would end-up doing **\"sudo apt-get install program_name\"** and installing it.\n\nThis repeats so why not automate the same? Solving this question, I had to do the below :\n\nBash shell has a hook called **command_not_found_handle**\n\nMost of the time in ubuntu, when we come across the message like : \nThe program 'program_name' is currently not installed. You can install it by typing:\nsudo apt-get install program_name\n```\n\nWe would end-up doing **\"sudo apt-get install program_name\"** and installing it.\n\nThis repeats so why not automate the same? Solving this question, I had to do the below :\n\nBash shell has a hook called **command_not_found_handle**\n\n```javascript\ncommand_not_found_handle () \n{ \n if [ -x /usr/lib/command-not-found ]; then\n /usr/bin/python /usr/lib/command-not-found -- $1;\n return $?;\n else\n if [ -x /usr/share/command-not-found ]; then\n /usr/bin/python /usr/share/command-not-found -- $1;\n return $?;\n else\n retu", "is_hemanth_target": 1, "style_metrics": {"directness": 0.3516, "hook_strength": 0.9645, "zero_fluff": 1.0, "code_first": 0.8664, "cadence": 1.0, "p_hemanth": 0.9187}, "split_hint": "val"}
{"id": "blog_new-vlc-10-howto-get-it", "slug": "new-vlc-10-howto-get-it", "task": "blog", "category": "cli", "title": "New VLC 1.0 howto get it", "tags": ["linux"], "prompt": "<|task:blog|>\nTitle: New VLC 1.0 howto get it\nCategory: cli\nTags: linux\nSummary: How to install VLC 1.0 on Ubuntu using the Launchpad PPA. Practical notes and code examples on New VLC 1.0 howto get it by.\n<|hemanth|>\n", "input_text": "New VLC 1.0 howto get it (cli): How to install VLC 1.0 on Ubuntu using the Launchpad PPA. Practical notes and code examples on New VLC 1.0 howto get it by.", "target_text": "Follow these steps:\n\n**Ubuntu 8.10 Intrepid:**\n\n```bash\nsudo sh -c \"echo 'deb http://ppa.launchpad.net/c-korn/vlc/ubuntu intrepid main' >> /etc/apt/sources.list\"\n```\n\n**Ubuntu 9.04 Jaunty Jackalope:**\n\n```bash\nsudo sh -c \"echo 'deb http://ppa.launchpad.net/c-korn/vlc/ubuntu jaunty main' >> /etc/apt/sources.list\"\n```\n\nThen add the verification key GPG:\n\n```bash\nsudo apt-key adv --keyserver keyserver.ubuntu.com --recv-keys 7613768D\n```\n\nNow install VLC using the command:\n\n```bash\nsudo apt-get update && sudo apt-get install vlc vlc-plugin-esd mozilla-plugin-vlc\n```\n\nThanks to Launchpad PPA named vlc from Christoph Korn\n\nChange log: [VLC-Change-Log](http://www.videolan.org/developers/vlc/NEWS)", "is_hemanth_target": 1, "style_metrics": {"directness": 0.17, "hook_strength": 0.77, "zero_fluff": 1.0, "code_first": 1.0, "cadence": 0.86, "p_hemanth": 0.8449}, "split_hint": "val"}
{"id": "blog_javascript-one-liner-extracting-unique-words-webpages", "slug": "javascript-one-liner-extracting-unique-words-webpages", "task": "blog", "category": "javascript", "title": "JavaScript One Liner Extracting Unique Words From Webpages", "tags": ["ruby", "javascript", "web"], "prompt": "<|task:blog|>\nTitle: JavaScript One Liner Extracting Unique Words From Webpages\nCategory: javascript\nTags: ruby, javascript, web\nSummary: Unlike JSON parsing with ruby one-liner ? this is indeed a very strong raw JavaScript one liner that /me managed to frame.\n<|hemanth|>\n", "input_text": "JavaScript One Liner Extracting Unique Words From Webpages (javascript): Unlike JSON parsing with ruby one-liner ? this is indeed a very strong raw JavaScript one liner that /me managed to frame.", "target_text": "Unlike [JSON parsing with ruby one-liner ?](http://h3manth.com/content/json-parsing-ruby-one-liner) this is indeed a very strong raw JavaScript one liner that /me managed to frame last weekend.\n\n**So what's the deal?**\n\nExtracting all the words in a given webpage, which later can be used to parse or search!\n\nThe whole idea is to collect all the words in the page and create a set() out of it.\n\n**So here is the one liner for extracting unique words form any page :**\n\nvar words = document.body.textContent.split(/\\s+/).sort().filter( function(v,i,o){return v!==o[i-1];}); \n\n**Let's break it down!**\n\ndocument.body.innerText || document.body.textContent would give us text (string) present in the body of the current document.\n\nsplit(/\\s+/) would split the text (string object) collected above into an array of strings by separating the string into substrings.\n\nsort() indeed sort the array that was created above.\n\n**The interesting part of the one liner!**\n\nfilter( function(v,i,o){return v!==o[i-1];}); this method creates a set out of the given array, set as in remove duplicates so that searching/parsing would be faster and better, this can be eliminated.\n\nfilter() basically creates a new arr", "is_hemanth_target": 1, "style_metrics": {"directness": 0.446, "hook_strength": 1.0, "zero_fluff": 1.0, "code_first": 0.35, "cadence": 1.0, "p_hemanth": 0.8661}, "split_hint": "val"}
{"id": "social_new-vlc-10-howto-get-it", "slug": "new-vlc-10-howto-get-it", "task": "social", "category": "cli", "title": "New VLC 1.0 howto get it", "prompt": "<|task:social|>\nTitle: New VLC 1.0 howto get it\nCategory: cli\nPost:\nFollow these steps:\n\n**Ubuntu 8.10 Intrepid:**\n\n```bash\nsudo sh -c \"echo 'deb http://ppa.launchpad.net/c-korn/vlc/ubuntu intrepid main' >> /etc/apt/sources.list\"\n```\n<|hemanth|>\n", "input_text": "New VLC 1.0 howto get it\nFollow these steps:\n\n**Ubuntu 8.10 Intrepid:**\n\n```bash\nsudo sh -c \"echo 'deb http://ppa.launchpad.net/c-korn/vlc/ubuntu intrepid main' >> /etc/apt/sources.list\"\n```", "target_text": "### LinkedIn\nNew VLC 1.0 howto get it\n\nFollow these steps:\n\n• Problem: How to install VLC 1.0 on Ubuntu using the Launchpad PPA. Practical notes and code examples on New VLC 1.0 howto get it by.\n• Takeaway: **Ubuntu 8.10 Intrepid:**\n\nFull breakdown: https://h3manth.com/scribe/new-vlc-10-howto-get-it/\n\n#Linux\n\n### Hacker News\nTitle: New VLC 1.0 howto get it\n\nFollow these steps:\n\n**Ubuntu 8.10 Intrepid:**\n\nPost: https://h3manth.com/scribe/new-vlc-10-howto-get-it/\n\n### Reddit\nTitle: New VLC 1.0 howto get it\n\nTL;DR:\n- Follow these steps:\n- **Ubuntu 8.10 Intrepid:**\n\nBlog: https://h3manth.com/scribe/new-vlc-10-howto-get-it/", "is_hemanth_target": 1, "style_metrics": {"directness": 0.2316, "hook_strength": 0.77, "zero_fluff": 1.0, "code_first": 0.6389, "cadence": 1.0, "p_hemanth": 0.8102}, "split_hint": "val"}
{"id": "rewrite_http-request-header-from-nodejs", "slug": "http-request-header-from-nodejs", "task": "rewrite", "category": "nodejs", "title": "HTTP-request header from node.js", "prompt": "<|task:rewrite|>\nTopic: HTTP-request header from node.js\nDraft:\nIn today's rapidly evolving nodejs landscape, developers and organizations frequently encounter multifaceted challenges regarding HTTP-request header from node.js. Specifically, when delving into this paradigm, it is important to comprehensively evaluate the following technical context: The message header of requests and responses in the Hypertext Transfer Protocol define the operating parameters of an HTTP transaction. Say if you want to do a language detection in the browser : One must be aware that browser settings don't actually affect the navigator.language property that is obtained via javascript, but they do affect is the HTTP 'Acce Furthermore, leveraging a holistic methodology facilitates seamless developer productivity.\n<|hemanth|>\n", "input_text": "In today's rapidly evolving nodejs landscape, developers and organizations frequently encounter multifaceted challenges regarding HTTP-request header from node.js. Specifically, when delving into this paradigm, it is important to comprehensively evaluate the following technical context: The message header of requests and responses in the Hypertext Transfer Protocol define the operating parameters of an HTTP transaction. Say if you want to do a language detection in the browser : One must be aware that browser settings don't actually affect the navigator.language property that is obtained via javascript, but they do affect is the HTTP 'Acce Furthermore, leveraging a holistic methodology facilitates seamless developer productivity.", "target_text": "The message header of requests and responses in the Hypertext Transfer Protocol define the operating parameters of an HTTP transaction.\n\nSay if you want to do a language detection in the browser : One must be aware that browser settings don't actually affect the navigator.language property that is obtained via javascript, but they do affect is the HTTP 'Accept-Language' header, but this value is not available through javascript at all!\n\nSo we need some server side help, why not use javascript itself on the server side?", "is_hemanth_target": 1, "style_metrics": {"directness": 0.2835, "hook_strength": 0.77, "zero_fluff": 1.0, "code_first": 0.35, "cadence": 1.0, "p_hemanth": 0.7509}, "draft_metrics": {"directness": 0.17, "hook_strength": 0.5125, "zero_fluff": 0.1197, "code_first": 0.35, "cadence": 1.0, "p_hemanth": 0.1455}, "split_hint": "val"}
{"id": "blog_setup-diaspora-ubuntu", "slug": "setup-diaspora-ubuntu", "task": "blog", "category": "linux", "title": "Setup Diaspora on Ubuntu", "tags": ["ubuntu", "git", "bash", "web"], "prompt": "<|task:blog|>\nTitle: Setup Diaspora on Ubuntu\nCategory: linux\nTags: ubuntu, git, bash, web\nSummary: Was seeing lot of people facing issues to in set up, including me at the beginning, so i thought to make a setup script for.\n<|hemanth|>\n", "input_text": "Setup Diaspora on Ubuntu (linux): Was seeing lot of people facing issues to in set up, including me at the beginning, so i thought to make a setup script for.", "target_text": "## Diaspora => The privacy aware, personally controlled, do-it-all, open source social network.\n\nWas seeing lot of people facing issues to in set up, including me at the beginning, so i thought to make a setup script for ubuntu os,which can be cloned from my repo [[ Mentioned below ]].\n\nI have tested it to the max i could, still it might not be fool proof, do try and let me know if you find any bugs.\n\n## Me trying Diaspora on my localhost \n\n_Bit flaky_\n\n## Update : This script got merged with the main branch of Diaspora \n\nCan be seen in the main branch of diaspora, [ubuntu-setup.bash](http://github.com/diaspora/diaspora/blob/master/ubuntu-setup.bash) **I thank the diaspora team for accepting my small contribution.**\n\n## The script\n\n## [GET THE CODE](http://github.com/hemanth/futhark/raw/master/diaspora-setup.bash)\n \n \n #!/bin/bash\n # Author : hemanth.hm@gmail.com\n # Site : www.h3manth.com\n # This script helps to setup diaspora.\n \n # Set extented globbing \n shopt -s extglob\n \n # Check if the user has sudo privilages \n sudo -v >/dev/null 2>&1 || \n { echo $(whoami) has no sudo privileges ; exit 1; }\n \n # Check if universal repository is e", "is_hemanth_target": 1, "style_metrics": {"directness": 0.17, "hook_strength": 0.77, "zero_fluff": 1.0, "code_first": 0.35, "cadence": 1.0, "p_hemanth": 0.6994}, "split_hint": "val"}
{"id": "social_l33t-translator", "slug": "l33t-translator", "task": "social", "category": "javascript", "title": "L33t Translator", "prompt": "<|task:social|>\nTitle: L33t Translator\nCategory: javascript\nPost:\nHere I introduce a dynamic 733+ translator an on the fly translator similar to Google translate.\n\n**Where i can see the translator in action?** You can here in the [demo page](http://www.h3manth.com/sites/files/l33t.html) [[ not much of an eyecandy ]]\n\n**What is l33t?** \"Leet, also known as eleet or leetspeak, is an alternative alphabet for the English language that is used primarily on the Internet. It uses various combinations of ASCII characters to replace Latinate letters. For example, leet \n<|hemanth|>\n", "input_text": "L33t Translator\nHere I introduce a dynamic 733+ translator an on the fly translator similar to Google translate.\n\n**Where i can see the translator in action?** You can here in the [demo page](http://www.h3manth.com/sites/files/l33t.html) [[ not much of an eyecandy ]]\n\n**What is l33t?** \"Leet, also known as eleet or leetspeak, is an alternative alphabet for the English language that is used primarily on the Internet. It uses various combinations of ASCII characters to replace Latinate letters. For example, leet ", "target_text": "### LinkedIn\nL33t Translator\n\nHere I introduce a dynamic 733+ translator an on the fly translator similar to Google translate.\n\n• Problem: Here I introduce a dynamic 733+ translator an on the fly translator similar to Google translate. Where i can see the in JS.\n• Takeaway: **Where i can see the translator in action?** You can here in the [demo page](http://www.h3manth.com/sites/files/l33t.html) [[ not much of an eyecandy ]]\n\nFull breakdown: https://h3manth.com/scribe/l33t-translator/\n\n#Javascript #Git #Web\n\n### Hacker News\nTitle: L33t Translator\n\nHere I introduce a dynamic 733+ translator an on the fly translator similar to Google translate.\n\n**Where i can see the translator in action?** You can here in the [demo page](http://www.h3manth.com/sites/files/l33t.html) [[ not much of an eyecandy ]]\n\nPost: https://h3manth.com/scribe/l33t-translator/\n\n### Reddit\nTitle: L33t Translator\n\nTL;DR:\n- Here I introduce a dynamic 733+ translator an on the fly translator similar to Google translate.\n- **Where i can see the translator in action?** You can here in the [demo page](http://www.h3manth.com/sites/files/l33t.html) [[ not much of an eyecandy ]]\n\nBlog: https://h3manth.com/scribe/l33t-translator/", "is_hemanth_target": 1, "style_metrics": {"directness": 0.236, "hook_strength": 0.77, "zero_fluff": 1.0, "code_first": 0.6389, "cadence": 1.0, "p_hemanth": 0.8118}, "split_hint": "val"}
{"id": "rewrite_my-experience-p2pu", "slug": "my-experience-p2pu", "task": "rewrite", "category": "web", "title": "My Experience With P2pu", "prompt": "<|task:rewrite|>\nTopic: My Experience With P2pu\nDraft:\nIn today's rapidly evolving web landscape, developers and organizations frequently encounter multifaceted challenges regarding My Experience With P2pu. Specifically, when delving into this paradigm, it is important to comprehensively evaluate the following technical context: **p2pu Learning for everyone, by everyone, about almost anything.** _\"The Peer 2 Peer University (P2PU) is an online community of open study groups for short university-level courses. Think of it as online book clubs for open educational resources.\"_ I heard about p2pu _@Mozilla Bangalore DevDay 2010_ from the Mozilla Drumbbeat team there were [Lucian Teo]( Furthermore, leveraging a holistic methodology facilitates seamless developer productivity.\n<|hemanth|>\n", "input_text": "In today's rapidly evolving web landscape, developers and organizations frequently encounter multifaceted challenges regarding My Experience With P2pu. Specifically, when delving into this paradigm, it is important to comprehensively evaluate the following technical context: **p2pu Learning for everyone, by everyone, about almost anything.** _\"The Peer 2 Peer University (P2PU) is an online community of open study groups for short university-level courses. Think of it as online book clubs for open educational resources.\"_ I heard about p2pu _@Mozilla Bangalore DevDay 2010_ from the Mozilla Drumbbeat team there were [Lucian Teo]( Furthermore, leveraging a holistic methodology facilitates seamless developer productivity.", "target_text": "**p2pu Learning for everyone, by everyone, about almost anything.** _\"The Peer 2 Peer University (P2PU) is an online community of open study groups for short university-level courses. Think of it as online book clubs for open educational resources.\"_\n\nI heard about p2pu _@Mozilla Bangalore DevDay 2010_ from the Mozilla Drumbbeat team there were [Lucian Teo](http://tribolum.com/) and [Jhon Britton](http://www.johndbritton.com/) spoke about p2pu and i was really interested in the new concept meet them in the networking break [ /me rather the long lunch queue ;)]. Got great shoots from Lucian's [cam](http://www.flickr.com/photos/annegirl/sets/72157623526144886/), came home and checked the site mentioned by them it's called [ and was browsing through many courses there and the one which struck my frequency was [Mashing Up The Open Web](http://p2pu.org/mashing-open-web-mar-2010) Manager was John Britton. _The project details:_ _Prerequisites: * Basic Knowledge of HTML/CSS and static web page creation. * Basic Knowledge of JavaScript Good to Know (AKA What you might learn) * jQuery or similar JS Framework * Server side scripting (PHP, Ruby, Python, etc) * Open Datasets that would be usef", "is_hemanth_target": 1, "style_metrics": {"directness": 0.17, "hook_strength": 0.8818, "zero_fluff": 1.0, "code_first": 0.35, "cadence": 1.0, "p_hemanth": 0.738}, "draft_metrics": {"directness": 0.17, "hook_strength": 0.5125, "zero_fluff": 0.1125, "code_first": 0.35, "cadence": 1.0, "p_hemanth": 0.1433}, "split_hint": "val"}
{"id": "blog_portal-communication", "slug": "portal-communication", "task": "blog", "category": "web", "title": "Portal Communication", "tags": ["javascript", "web-api", "portals"], "prompt": "<|task:blog|>\nTitle: Portal Communication\nCategory: web\nTags: javascript, web-api, portals\nSummary: Communicating between host and portal browsing contexts. Practical notes and code examples on Portal Communication by in JS.\n<|hemanth|>\n", "input_text": "Portal Communication (web): Communicating between host and portal browsing contexts. Practical notes and code examples on Portal Communication by in JS.", "target_text": "[Portals](https://wicg.github.io/portals) takes the best from SPA and MPA to provide users with a top level portal browsing context which can be embedded in an HTML document.\n\nA portal is similar to an iframe, in that it allows another browsing context to be embedded. However, the portal browsing context hosted by a portal is part of a separate unit of related browsing contexts. The user agent is thus free to use a separate event loop for the browsing contexts, even if they are same origin-domain.\n\n## Communicating with Portals\n\nAt times we would want to communicate with the initial host and the portal and vice versa.\n\n### In the Host\n\n```javascript\nconst portal = document.querySelector('portal');\n\nportal.activate({data: {foo: \"bar\"}}).then(() => {\n window.portalHost.onmessage = evn => {\n console.log(e.data); // data from the portal\n }\n});\n```\n\nWe can also get other information from the event:\n\n```javascript\n{\n origin: evn.origin,\n data: evn.data,\n sourceIsPortalHost: evn.source === window.portalHost,\n gotUserActivation: !!evn.userActivation,\n userActivation: {\n isActive: evn.userActivation && evn.userActivation.isActive,\n hasBeenActive: evn.userActivation && evn.us", "is_hemanth_target": 1, "style_metrics": {"directness": 0.4307, "hook_strength": 0.77, "zero_fluff": 1.0, "code_first": 0.61, "cadence": 0.878, "p_hemanth": 0.8436}, "split_hint": "val"}
{"id": "critic_pos_getting-server-info-using-nodejs", "slug": "getting-server-info-using-nodejs", "task": "critic", "category": "nodejs", "title": "Getting server info using nodejs", "prompt": "<|task:critic|>\nText:\nGetting server information using nodejs is very easy especially using the os module.\n\nWrote a simple script to fetch **hostname, loadavg, uptime, freemem, totalmem, cpus, type, release, networkInterfaces, arch, platform, getNetworkInterfaces** from the server where the node is running.\n\n** Below is the code to get the server info using nodejs :**\n<|hemanth|>\n", "input_text": "Getting server information using nodejs is very easy especially using the os module.\n\nWrote a simple script to fetch **hostname, loadavg, uptime, freemem, totalmem, cpus, type, release, networkInterfaces, arch, platform, getNetworkInterfaces** from the server where the node is running.\n\n** Below is the code to get the server info using nodejs :**", "target_text": "verdict: authentic_hemanth_voice (p_hemanth=0.92)\ndirectness=0.39 | hook=0.77 | zero_fluff=1.00 | code_first=1.00 | cadence=1.00\nnotes: Punchy practitioner hook, zero corporate filler, concrete examples.", "is_hemanth_target": 1, "style_metrics": {"directness": 0.3925, "hook_strength": 0.77, "zero_fluff": 1.0, "code_first": 1.0, "cadence": 1.0, "p_hemanth": 0.917}, "split_hint": "val"}
{"id": "critic_pos_scripting-101-reddit-course", "slug": "scripting-101-reddit-course", "task": "critic", "category": "python", "title": "Scripting 101 Reddit Course", "prompt": "<|task:critic|>\nText:\n## \"Teaching is the best way to learn\". Indeed very true, realized this as i started a course in reddit university.\n\n_\"The University of Reddit is the product of free intellectualism and is a haven for the sharing of knowledge. Teachers and students are free to explore any subject that interests them.\"_\n\nI started mentoring this course on scripting 101 on _15.00 Sat Jul 9 15:00:00 UTC 2010_ which is all about using bash, python, perl, ruby, php and many other scripting languages in day to day t\n<|hemanth|>\n", "input_text": "## \"Teaching is the best way to learn\". Indeed very true, realized this as i started a course in reddit university.\n\n_\"The University of Reddit is the product of free intellectualism and is a haven for the sharing of knowledge. Teachers and students are free to explore any subject that interests them.\"_\n\nI started mentoring this course on scripting 101 on _15.00 Sat Jul 9 15:00:00 UTC 2010_ which is all about using bash, python, perl, ruby, php and many other scripting languages in day to day t", "target_text": "verdict: authentic_hemanth_voice (p_hemanth=0.71)\ndirectness=0.20 | hook=0.77 | zero_fluff=1.00 | code_first=0.35 | cadence=1.00\nnotes: Punchy practitioner hook, zero corporate filler, concrete examples.", "is_hemanth_target": 1, "style_metrics": {"directness": 0.1962, "hook_strength": 0.77, "zero_fluff": 1.0, "code_first": 0.35, "cadence": 1.0, "p_hemanth": 0.7118}, "split_hint": "val"}
{"id": "rewrite_scripting-101-reddit-course", "slug": "scripting-101-reddit-course", "task": "rewrite", "category": "python", "title": "Scripting 101 Reddit Course", "prompt": "<|task:rewrite|>\nTopic: Scripting 101 Reddit Course\nDraft:\nIn today's rapidly evolving python landscape, developers and organizations frequently encounter multifaceted challenges regarding Scripting 101 Reddit Course. Specifically, when delving into this paradigm, it is important to comprehensively evaluate the following technical context: ## \"Teaching is the best way to learn\". Indeed very true, realized this as i started a course in reddit university. _\"The University of Reddit is the product of free intellectualism and is a haven for the sharing of knowledge. Teachers and students are free to explore any subject that interests them.\"_ I started mentoring this course on scripting 101 on _ Furthermore, leveraging a holistic methodology facilitates seamless developer productivity.\n<|hemanth|>\n", "input_text": "In today's rapidly evolving python landscape, developers and organizations frequently encounter multifaceted challenges regarding Scripting 101 Reddit Course. Specifically, when delving into this paradigm, it is important to comprehensively evaluate the following technical context: ## \"Teaching is the best way to learn\". Indeed very true, realized this as i started a course in reddit university. _\"The University of Reddit is the product of free intellectualism and is a haven for the sharing of knowledge. Teachers and students are free to explore any subject that interests them.\"_ I started mentoring this course on scripting 101 on _ Furthermore, leveraging a holistic methodology facilitates seamless developer productivity.", "target_text": "## \"Teaching is the best way to learn\". Indeed very true, realized this as i started a course in reddit university.\n\n_\"The University of Reddit is the product of free intellectualism and is a haven for the sharing of knowledge. Teachers and students are free to explore any subject that interests them.\"_\n\nI started mentoring this course on scripting 101 on _15.00 Sat Jul 9 15:00:00 UTC 2010_ which is all about using bash, python, perl, ruby, php and many other scripting languages in day to day task. More of interaction driven with about [307 students!](http://universityofreddit.com/v2/class.php?id=85) Its been a successful journey so far with 3 class done on BASH introduction to advance.", "is_hemanth_target": 1, "style_metrics": {"directness": 0.4318, "hook_strength": 0.77, "zero_fluff": 1.0, "code_first": 0.35, "cadence": 1.0, "p_hemanth": 0.8087}, "draft_metrics": {"directness": 0.5431, "hook_strength": 0.5125, "zero_fluff": 0.1221, "code_first": 0.35, "cadence": 0.671, "p_hemanth": 0.2006}, "split_hint": "val"}
{"id": "social_v8-inspector-from-node", "slug": "v8-inspector-from-node", "task": "social", "category": "node", "title": "V8 Inspector from Node", "prompt": "<|task:social|>\nTitle: V8 Inspector from Node\nCategory: node\nPost:\nThe [inspector](https://nodejs.org/api/inspector.html) module provides an API that makes it easy to interact with the V8 inspector.\n\n## Opening an Inspector\n\nOne can easily open an inspector like:\n<|hemanth|>\n", "input_text": "V8 Inspector from Node\nThe [inspector](https://nodejs.org/api/inspector.html) module provides an API that makes it easy to interact with the V8 inspector.\n\n## Opening an Inspector\n\nOne can easily open an inspector like:", "target_text": "### LinkedIn\nV8 Inspector from Node\n\nThe [inspector](https://nodejs.org/api/inspector.html) module provides an API that makes it easy to interact with the V8 inspector.\n\n• Problem: Using the inspector module to interact with the V8 inspector from Node.js. Practical notes and code examples on V8 Inspector.\n• Takeaway: ## Opening an Inspector\n\nFull breakdown: https://h3manth.com/scribe/v8-inspector-from-node/\n\n#Node #Javascript #Debugging #V8\n\n### Hacker News\nTitle: V8 Inspector from Node\n\nThe [inspector](https://nodejs.org/api/inspector.html) module provides an API that makes it easy to interact with the V8 inspector.\n\n## Opening an Inspector\n\nPost: https://h3manth.com/scribe/v8-inspector-from-node/\n\n### Reddit\nTitle: V8 Inspector from Node\n\nTL;DR:\n- The [inspector](https://nodejs.org/api/inspector.html) module provides an API that makes it easy to interact with the V8 inspector.\n- ## Opening an Inspector\n\nBlog: https://h3manth.com/scribe/v8-inspector-from-node/", "is_hemanth_target": 1, "style_metrics": {"directness": 0.4869, "hook_strength": 0.77, "zero_fluff": 1.0, "code_first": 0.6389, "cadence": 1.0, "p_hemanth": 0.8843}, "split_hint": "val"}
{"id": "blog_getting-server-info-using-nodejs", "slug": "getting-server-info-using-nodejs", "task": "blog", "category": "nodejs", "title": "Getting server info using nodejs", "tags": ["javascript", "nodejs"], "prompt": "<|task:blog|>\nTitle: Getting server info using nodejs\nCategory: nodejs\nTags: javascript, nodejs\nSummary: Getting server information using nodejs is very easy especially using the os module. Wrote a simple script to fetch in JS.\n<|hemanth|>\n", "input_text": "Getting server info using nodejs (nodejs): Getting server information using nodejs is very easy especially using the os module. Wrote a simple script to fetch in JS.", "target_text": "Getting server information using nodejs is very easy especially using the os module.\n\nWrote a simple script to fetch **hostname, loadavg, uptime, freemem, totalmem, cpus, type, release, networkInterfaces, arch, platform, getNetworkInterfaces** from the server where the node is running.\n\n** Below is the code to get the server info using nodejs :**\n\n```javascript\nvar http = require('http');\nvar os = require('os');\nvar url = require('url');\nhttp.createServer(function (req, res) {\n res.writeHead(200, {'Content-Type': 'text/plain'});\n var call = url.parse(req.url).pathname.replace(/.*\\\\/|\\\\.[^.]*$/g, '');\n if( call === \"all\"){\n Object.keys(os).map(function(method) { res.write(method+\":\"+JSON.stringify(os[method](),2,true))+\",\"; })\n }\n else{\n try{\n var resu = os[call]();\n res.write(JSON.stringify(resu),'utf8');\n }\n catch(e){\n res.end(\"Sorry, try on of : \"+Object.keys(os).join(\", \"));\n }\n }\n res.end();\n}).listen(1337, \"localhost\");\nconsole.log('Server running at http://localhost:1337/');\n```\n\nAfter executing the above, one can just curl to get the info, say for example one needs to details of the CPUS on the server, she could **c", "is_hemanth_target": 1, "style_metrics": {"directness": 0.3925, "hook_strength": 0.77, "zero_fluff": 1.0, "code_first": 1.0, "cadence": 1.0, "p_hemanth": 0.917}, "split_hint": "val"}
{"id": "critic_neg_sublime-text-build-system-errno-2", "slug": "sublime-text-build-system-errno-2", "task": "critic", "category": "web", "title": "Sublime Text Build System Errno 2", "prompt": "<|task:critic|>\nText:\nIn today's rapidly evolving web landscape, developers and organizations frequently encounter multifaceted challenges regarding Sublime Text Build System Errno 2. Specifically, when delving into this paradigm, it is important to comprehensively evaluate the following technical context: While working on the [yeoman-sublime-plugin](https://github.com/yeoman/sublime-plugin/), I faced `[Errno 2] No such file or directory`. ## The Solution Furthermore, leveraging a holistic methodology facilitates seamless developer productivity.\n<|hemanth|>\n", "input_text": "In today's rapidly evolving web landscape, developers and organizations frequently encounter multifaceted challenges regarding Sublime Text Build System Errno 2. Specifically, when delving into this paradigm, it is important to comprehensively evaluate the following technical context: While working on the [yeoman-sublime-plugin](https://github.com/yeoman/sublime-plugin/), I faced `[Errno 2] No such file or directory`. ## The Solution Furthermore, leveraging a holistic methodology facilitates seamless developer productivity.", "target_text": "verdict: needs_hemanth_rewrite (p_hemanth=0.38)\ndirectness=0.48 | hook=0.60 | zero_fluff=0.05 | code_first=0.77 | cadence=0.95\nnotes: Cut filler ('multifaceted', 'delving', 'paradigm', 'holistic'). Lead with a 1-sentence hook and a concrete code or metric example.", "is_hemanth_target": 0, "style_metrics": {"directness": 0.4798, "hook_strength": 0.5982, "zero_fluff": 0.05, "code_first": 0.7681, "cadence": 0.9465, "p_hemanth": 0.3798}, "split_hint": "val"}
{"id": "rewrite_ants-journey-planet-called-ibm", "slug": "ants-journey-planet-called-ibm", "task": "rewrite", "category": "linux", "title": "An Ants Journey in a Planet Called IBM", "prompt": "<|task:rewrite|>\nTopic: An Ants Journey in a Planet Called IBM\nDraft:\nIn today's rapidly evolving linux landscape, developers and organizations frequently encounter multifaceted challenges regarding An Ants Journey in a Planet Called IBM. Specifically, when delving into this paradigm, it is important to comprehensively evaluate the following technical context: Most of us would have attended many conferences and seminars, with an agenda a topic too and yes indeed lunch and back home, but it was a year back when i read the mail which said , \"Come, join this innovative unconference session anchored by IBM developerWorks. Because You Matter. \", it was called Unconference! Wondering what an Unconference is i asked Mr. Furthermore, leveraging a holistic methodology facilitates seamless developer productivity.\n<|hemanth|>\n", "input_text": "In today's rapidly evolving linux landscape, developers and organizations frequently encounter multifaceted challenges regarding An Ants Journey in a Planet Called IBM. Specifically, when delving into this paradigm, it is important to comprehensively evaluate the following technical context: Most of us would have attended many conferences and seminars, with an agenda a topic too and yes indeed lunch and back home, but it was a year back when i read the mail which said , \"Come, join this innovative unconference session anchored by IBM developerWorks. Because You Matter. \", it was called Unconference! Wondering what an Unconference is i asked Mr. Furthermore, leveraging a holistic methodology facilitates seamless developer productivity.", "target_text": "Most of us would have attended many conferences and seminars, with an agenda a topic too and yes indeed lunch and back home, but it was a year back when i read the mail which said , \"Come, join this innovative unconference session anchored by IBM developerWorks. Because You Matter. \", it was called Unconference!\n\nWondering what an Unconference is i asked Mr.Google who had then returned an IBM link to the same event! But today there are many links, wikis and many other social networking updates on the same, the same is making it clear what impact does an Unconference can have.\n\nMy first experience was in 2009 September 15 @ Dayanand Sagar College, i was just out of my college then and had been there to talk about a topic called \"Open minds, Open source\", was more of software philoshopy than technical speech, which i thought could be categorized in others, as there were 5 categories \"Smart work\", \"Dynamic Infra structure\", \"New Intelligence\", \"Green IT\" and \"Others\".", "is_hemanth_target": 1, "style_metrics": {"directness": 0.3325, "hook_strength": 0.6809, "zero_fluff": 1.0, "code_first": 0.35, "cadence": 1.0, "p_hemanth": 0.7432}, "draft_metrics": {"directness": 0.6489, "hook_strength": 0.5125, "zero_fluff": 0.1269, "code_first": 0.35, "cadence": 0.664, "p_hemanth": 0.2425}, "split_hint": "val"}
{"id": "rewrite_websocketstream-api", "slug": "websocketstream-api", "task": "rewrite", "category": "web", "title": "WebSocketStream API", "prompt": "<|task:rewrite|>\nTopic: WebSocketStream API\nDraft:\nIn today's rapidly evolving web landscape, developers and organizations frequently encounter multifaceted challenges regarding WebSocketStream API. Specifically, when delving into this paradigm, it is important to comprehensively evaluate the following technical context: WebSocketStream API came into play to make things easier with WebSocket API, which has the below limitations: - Ergonomics isn't great - The important feature of `backpressure` is missing - The `onmessage` event will keep firing until the page becomes completely unresponsive - To find out when it is safe to start sending messages again, it is necessary to p Furthermore, leveraging a holistic methodology facilitates seamless developer productivity.\n<|hemanth|>\n", "input_text": "In today's rapidly evolving web landscape, developers and organizations frequently encounter multifaceted challenges regarding WebSocketStream API. Specifically, when delving into this paradigm, it is important to comprehensively evaluate the following technical context: WebSocketStream API came into play to make things easier with WebSocket API, which has the below limitations: - Ergonomics isn't great - The important feature of `backpressure` is missing - The `onmessage` event will keep firing until the page becomes completely unresponsive - To find out when it is safe to start sending messages again, it is necessary to p Furthermore, leveraging a holistic methodology facilitates seamless developer productivity.", "target_text": "WebSocketStream API came into play to make things easier with WebSocket API, which has the below limitations:\n\n- Ergonomics isn't great\n- The important feature of `backpressure` is missing\n- The `onmessage` event will keep firing until the page becomes completely unresponsive\n- To find out when it is safe to start sending messages again, it is necessary to poll bufferedAmount\n\n## Goals of WebSocketStream API", "is_hemanth_target": 1, "style_metrics": {"directness": 0.17, "hook_strength": 0.77, "zero_fluff": 1.0, "code_first": 1.0, "cadence": 0.86, "p_hemanth": 0.8449}, "draft_metrics": {"directness": 0.17, "hook_strength": 0.5125, "zero_fluff": 0.103, "code_first": 0.7307, "cadence": 1.0, "p_hemanth": 0.2321}, "split_hint": "val"}
{"id": "rewrite_download-from-youtube", "slug": "download-from-youtube", "task": "rewrite", "category": "javascript", "title": "Download from youtube", "prompt": "<|task:rewrite|>\nTopic: Download from youtube\nDraft:\nIn today's rapidly evolving javascript landscape, developers and organizations frequently encounter multifaceted challenges regarding Download from youtube. Specifically, when delving into this paradigm, it is important to comprehensively evaluate the following technical context: Application that downloads YouTube videos, then encodes them by using FFmpeg. PyTube offers a thumbnail preview of the online videos you import and arranges them in a drop-down list. GUI for various command-line tools such as ffmpeg and others. It allows you to resize, rotate, apply an external mp3 into a video, generate a 10 to 30 seconds mp3 ring tone !! Furthermore, leveraging a holistic methodology facilitates seamless developer productivity.\n<|hemanth|>\n", "input_text": "In today's rapidly evolving javascript landscape, developers and organizations frequently encounter multifaceted challenges regarding Download from youtube. Specifically, when delving into this paradigm, it is important to comprehensively evaluate the following technical context: Application that downloads YouTube videos, then encodes them by using FFmpeg. PyTube offers a thumbnail preview of the online videos you import and arranges them in a drop-down list. GUI for various command-line tools such as ffmpeg and others. It allows you to resize, rotate, apply an external mp3 into a video, generate a 10 to 30 seconds mp3 ring tone !! Furthermore, leveraging a holistic methodology facilitates seamless developer productivity.", "target_text": "Application that downloads YouTube videos, then encodes them by using FFmpeg. PyTube offers a thumbnail preview of the online videos you import and arranges them in a drop-down list.\nGUI for various command-line tools such as ffmpeg and others. It allows you to resize, rotate, apply an external mp3 into a video, generate a 10 to 30 seconds mp3 ring tone !!\n\n[](http://3.bp.blogspot.com/_Uhgj641O9MY/SS-fu9HS8iI/AAAAAAAAAxk/i6tr4sn-I5A/s1600-h/pytube.jpeg)\n{click to see larger image}\n\nAll you need to do is install this : [http://neacm.fe.up.pt/pub/getdeb/ubuntu/hardy/py/pytube_0.0.11.4~getdeb1_all.deb](http://neacm.fe.up.pt/pub/getdeb/ubuntu/hardy/py/pytube_0.0.11.4%7Egetdeb1_all.deb)", "is_hemanth_target": 1, "style_metrics": {"directness": 0.5, "hook_strength": 0.5982, "zero_fluff": 1.0, "code_first": 0.4511, "cadence": 0.8239, "p_hemanth": 0.7713}, "draft_metrics": {"directness": 0.6653, "hook_strength": 0.5125, "zero_fluff": 0.1197, "code_first": 0.35, "cadence": 0.5674, "p_hemanth": 0.2214}, "split_hint": "val"}
{"id": "rewrite_date-shifting-in-ruby", "slug": "date-shifting-in-ruby", "task": "rewrite", "category": "ruby", "title": "Date Shifting in Ruby", "prompt": "<|task:rewrite|>\nTopic: Date Shifting in Ruby\nDraft:\nIn today's rapidly evolving ruby landscape, developers and organizations frequently encounter multifaceted challenges regarding Date Shifting in Ruby. Specifically, when delving into this paradigm, it is important to comprehensively evaluate the following technical context: Ruby has a hidden gem: the `<<` shift operator on Date objects! ```ruby require 'date' today = Date.today # 2014-09-14 # Shift to previous month last_month = today << 1 last_month.strftime('%B') # \"August\" Furthermore, leveraging a holistic methodology facilitates seamless developer productivity.\n<|hemanth|>\n", "input_text": "In today's rapidly evolving ruby landscape, developers and organizations frequently encounter multifaceted challenges regarding Date Shifting in Ruby. Specifically, when delving into this paradigm, it is important to comprehensively evaluate the following technical context: Ruby has a hidden gem: the `<<` shift operator on Date objects! ```ruby require 'date' today = Date.today # 2014-09-14 # Shift to previous month last_month = today << 1 last_month.strftime('%B') # \"August\" Furthermore, leveraging a holistic methodology facilitates seamless developer productivity.", "target_text": "Ruby has a hidden gem: the `<<` shift operator on Date objects!\n\n```ruby\nrequire 'date'\ntoday = Date.today # 2014-09-14\n\n# Shift to previous month\nlast_month = today << 1\nlast_month.strftime('%B') # \"August\"", "is_hemanth_target": 1, "style_metrics": {"directness": 0.7362, "hook_strength": 1.0, "zero_fluff": 1.0, "code_first": 0.5485, "cadence": 0.8118, "p_hemanth": 0.9296}, "draft_metrics": {"directness": 0.4253, "hook_strength": 0.5125, "zero_fluff": 0.05, "code_first": 0.4956, "cadence": 0.847, "p_hemanth": 0.207}, "split_hint": "val"}
{"id": "critic_neg_making-promise-javascript", "slug": "making-promise-javascript", "task": "critic", "category": "javascript", "title": "Making a Promise With Javascript", "prompt": "<|task:critic|>\nText:\nIn today's rapidly evolving javascript landscape, developers and organizations frequently encounter multifaceted challenges regarding Making a Promise With Javascript. Specifically, when delving into this paradigm, it is important to comprehensively evaluate the following technical context: [Chaining functions](http://www.h3manth.com/content/chaining-functions-javascript) in javascript is fun, so is the understanding of [Blaocking vs Non-Blocking](http://h3manth.com/content/blocking-vs-non-blocking-nodejs) code, but callback can soon end up in hell! To save one from callback hell, normally named functions are preferred as save boats, but promi Furthermore, leveraging a holistic methodology facilitates seamless developer productivity.\n<|hemanth|>\n", "input_text": "In today's rapidly evolving javascript landscape, developers and organizations frequently encounter multifaceted challenges regarding Making a Promise With Javascript. Specifically, when delving into this paradigm, it is important to comprehensively evaluate the following technical context: [Chaining functions](http://www.h3manth.com/content/chaining-functions-javascript) in javascript is fun, so is the understanding of [Blaocking vs Non-Blocking](http://h3manth.com/content/blocking-vs-non-blocking-nodejs) code, but callback can soon end up in hell! To save one from callback hell, normally named functions are preferred as save boats, but promi Furthermore, leveraging a holistic methodology facilitates seamless developer productivity.", "target_text": "verdict: needs_hemanth_rewrite (p_hemanth=0.14)\ndirectness=0.17 | hook=0.51 | zero_fluff=0.11 | code_first=0.35 | cadence=0.99\nnotes: Cut filler ('multifaceted', 'delving', 'paradigm', 'holistic'). Lead with a 1-sentence hook and a concrete code or metric example.", "is_hemanth_target": 0, "style_metrics": {"directness": 0.17, "hook_strength": 0.5125, "zero_fluff": 0.1102, "code_first": 0.35, "cadence": 0.9943, "p_hemanth": 0.1416}, "split_hint": "val"}
{"id": "social_introducing-slang-api", "slug": "introducing-slang-api", "task": "social", "category": "javascript", "title": "Introducing the Slang API", "prompt": "<|task:social|>\nTitle: Introducing the Slang API\nCategory: javascript\nPost:\nLately was working on some slang filtering module, but for the LOLz of it made a simple JSON API.\n\nThe deal is pretty simple, the API takes in an SMS slang word and expands the acronym.\n\n**So, here is a simple jQuery code to get results :**\n<|hemanth|>\n", "input_text": "Introducing the Slang API\nLately was working on some slang filtering module, but for the LOLz of it made a simple JSON API.\n\nThe deal is pretty simple, the API takes in an SMS slang word and expands the acronym.\n\n**So, here is a simple jQuery code to get results :**", "target_text": "### LinkedIn\nIntroducing the Slang API\n\nLately was working on some slang filtering module, but for the LOLz of it made a simple JSON API.\n\n• Problem: Lately was working on some slang filtering module, but for the LOLz of it made a simple JSON API. The deal is pretty simple.\n• Takeaway: The deal is pretty simple, the API takes in an SMS slang word and expands the acronym.\n\nFull breakdown: https://h3manth.com/scribe/introducing-slang-api/\n\n#Javascript #Android #Web\n\n### Hacker News\nTitle: Introducing the Slang API\n\nLately was working on some slang filtering module, but for the LOLz of it made a simple JSON API.\n\nThe deal is pretty simple, the API takes in an SMS slang word and expands the acronym.\n\nPost: https://h3manth.com/scribe/introducing-slang-api/\n\n### Reddit\nTitle: Introducing the Slang API\n\nTL;DR:\n- Lately was working on some slang filtering module, but for the LOLz of it made a simple JSON API.\n- The deal is pretty simple, the API takes in an SMS slang word and expands the acronym.\n\nBlog: https://h3manth.com/scribe/introducing-slang-api/", "is_hemanth_target": 1, "style_metrics": {"directness": 0.6432, "hook_strength": 0.77, "zero_fluff": 1.0, "code_first": 0.6389, "cadence": 1.0, "p_hemanth": 0.9161}, "split_hint": "val"}
{"id": "blog_removing-usb-viruses-most-viruses-which-are-wide-speared-due-os-windows-can-me-easily-smashe", "slug": "removing-usb-viruses-most-viruses-which-are-wide-speared-due-os-windows-can-me-easily-smashe", "task": "blog", "category": "linux", "title": "Removing USB viruses--Most of the Viruses Which Are Wide Speared Due to OS Like Windows Can Me Easily Smashed in OS Like UBUNTU ;)", "tags": ["ubuntu"], "prompt": "<|task:blog|>\nTitle: Removing USB viruses--Most of the Viruses Which Are Wide Speared Due to OS Like Windows Can Me Easily Smashed in OS Like UBUNTU ;)\nCategory: linux\nTags: ubuntu\nSummary: Removing USB viruses--Most of the Viruses Which Are Wide Speared Due to OS Like Windows Can Me Easil. Practical notes and.\n<|hemanth|>\n", "input_text": "Removing USB viruses--Most of the Viruses Which Are Wide Speared Due to OS Like Windows Can Me Easily Smashed in OS Like UBUNTU ;) (linux): Removing USB viruses--Most of the Viruses Which Are Wide Speared Due to OS Like Windows Can Me Easil. Practical notes and.", "target_text": "Steps leads to success \n \n1\\. cd /media/ \n2\\. sudo chmod 777 _._ \n \nCommon viruses \n \n* Autorun.inf \n* Ravmon.exe \n* New Folder.exe \n* svchost.exe \n* Heap41a \n* NewFolder.exe \n* System \n* RECYCLER \n \nor any other exe file which may be suspicious \n \n3\\. sudo rm -rf *.exe \n \n4\\. sudo rm -rf \n \nP.S : If setp 2 did not help try sudo chmod 777", "is_hemanth_target": 1, "style_metrics": {"directness": 0.818, "hook_strength": 0.77, "zero_fluff": 1.0, "code_first": 0.35, "cadence": 1.0, "p_hemanth": 0.9107}, "split_hint": "val"}
{"id": "blog_auto-require-ruby-gems", "slug": "auto-require-ruby-gems", "task": "blog", "category": "ruby", "title": "Auto Require Ruby Gems", "tags": ["ruby"], "prompt": "<|task:blog|>\nTitle: Auto Require Ruby Gems\nCategory: ruby\nTags: ruby\nSummary: Automatically install missing Ruby gems when requiring them. Practical notes and code examples on Auto Require Ruby Gems by.\n<|hemanth|>\n", "input_text": "Auto Require Ruby Gems (ruby): Automatically install missing Ruby gems when requiring them. Practical notes and code examples on Auto Require Ruby Gems by.", "target_text": "A simple trick to auto-install missing gems when requiring:\n\n```ruby\nalias old_require require\n\ndef load_gem(gem)\n old_require gem\nrescue LoadError => e\n print \"'#{gem}' can't be found, trying to install it...\"\n system(\"gem install #{gem} --no-ri --no-rdoc\")\n Gem.clear_paths() && require(gem) && puts(\"loading '#{gem}' ok!\")\nend\n\n## Usage\nruby\n> require 'xkcd'\n'xkcd' can't be found, trying to install it..\nFetching: xkcd-1.0.1.gem (100%)\nSuccessfully installed xkcd-1.0.1\n2 gems installed\n=> nil\n```\n\n> **Note**: Use [Bundler](http://bundler.io) for proper dependency management. This is just a fun hack!", "is_hemanth_target": 1, "style_metrics": {"directness": 0.818, "hook_strength": 0.77, "zero_fluff": 1.0, "code_first": 1.0, "cadence": 0.8588, "p_hemanth": 0.9597}, "split_hint": "val"}
{"id": "blog_making-promise-javascript", "slug": "making-promise-javascript", "task": "blog", "category": "javascript", "title": "Making a Promise With Javascript", "tags": ["nodejs", "javascript", "web"], "prompt": "<|task:blog|>\nTitle: Making a Promise With Javascript\nCategory: javascript\nTags: nodejs, javascript, web\nSummary: Chaining functions in javascript is fun, so is the understanding of Blaocking vs Non-Blocking code, but callback can soon.\n<|hemanth|>\n", "input_text": "Making a Promise With Javascript (javascript): Chaining functions in javascript is fun, so is the understanding of Blaocking vs Non-Blocking code, but callback can soon.", "target_text": "[Chaining functions](http://www.h3manth.com/content/chaining-functions-javascript) in javascript is fun, so is the understanding of [Blaocking vs Non-Blocking](http://h3manth.com/content/blocking-vs-non-blocking-nodejs) code, but callback can soon end up in hell!\n\nTo save one from callback hell, normally named functions are preferred as save boats, but promises are more promising pattern!\n\nPromises are not a new to the world of computer science, many JS frameworks have made promises for quite some time now, [jQuery Deffered](http://api.jquery.com/deferred.promise/) being one amongst them, taskjs is also very impressive.\n\n**Summarising the promise in simple points :**\n\n * An object that represents a one-time event, typically the outcome of an async task.\n\n * That function must return a promise, which can be fulfilled with a value or failed with an exception!\n\n * State transitions are performed based on the promises outcome.\n\n * Once the transition is done, it's state is frozen.\n\nBut normally there are more methods in it like :\n\n```bash\n .done() .fail() .then() .when() .progress() .isResolved() .isRejected() .always() .pipe() .state() \n```\n\n**Simple example :**\n\n` var Promise = f", "is_hemanth_target": 1, "style_metrics": {"directness": 0.5398, "hook_strength": 1.0, "zero_fluff": 1.0, "code_first": 0.4848, "cadence": 0.926, "p_hemanth": 0.8996}, "split_hint": "val"}
{"id": "social_publish-packages-to-npm-with-yeoman", "slug": "publish-packages-to-npm-with-yeoman", "task": "social", "category": "node", "title": "Publish Packages to NPM with Yeoman", "prompt": "<|task:social|>\nTitle: Publish Packages to NPM with Yeoman\nCategory: node\nPost:\n[Yeoman](http://yeoman.io/) makes creating and maintaining node packages easy with [generator-node](https://github.com/yeoman/generator-node).\n\n## Getting Started\n\n```bash\nnpm install -g generator-node\nmkdir exmp && cd $_\nyo node\n<|hemanth|>\n", "input_text": "Publish Packages to NPM with Yeoman\n[Yeoman](http://yeoman.io/) makes creating and maintaining node packages easy with [generator-node](https://github.com/yeoman/generator-node).\n\n## Getting Started\n\n```bash\nnpm install -g generator-node\nmkdir exmp && cd $_\nyo node", "target_text": "### LinkedIn\nPublish Packages to NPM with Yeoman\n\n[Yeoman](http://yeoman.io/) makes creating and maintaining node packages easy with [generator-node](https://github.com/yeoman/generator-node).\n\n• Problem: Using Yeoman’s generator-node to create and publish npm packages. Practical notes and code examples on Publish Packages to.\n• Takeaway: ## Getting Started\n\nFull breakdown: https://h3manth.com/scribe/publish-packages-to-npm-with-yeoman/\n\n#Node #Npm #Yeoman\n\n### Hacker News\nTitle: Publish Packages to NPM with Yeoman\n\n[Yeoman](http://yeoman.io/) makes creating and maintaining node packages easy with [generator-node](https://github.com/yeoman/generator-node).\n\n## Getting Started\n\nPost: https://h3manth.com/scribe/publish-packages-to-npm-with-yeoman/\n\n### Reddit\nTitle: Publish Packages to NPM with Yeoman\n\nTL;DR:\n- [Yeoman](http://yeoman.io/) makes creating and maintaining node packages easy with [generator-node](https://github.com/yeoman/generator-node).\n- ## Getting Started\n\nBlog: https://h3manth.com/scribe/publish-packages-to-npm-with-yeoman/", "is_hemanth_target": 1, "style_metrics": {"directness": 0.4814, "hook_strength": 0.77, "zero_fluff": 1.0, "code_first": 0.6389, "cadence": 1.0, "p_hemanth": 0.883}, "split_hint": "val"}
{"id": "blog_nth-child-css-pseudo-class-christmas-colors", "slug": "nth-child-css-pseudo-class-christmas-colors", "task": "blog", "category": "web", "title": "Nth-child CSS Pseudo-class Christmas Colors", "tags": ["web"], "prompt": "<|task:blog|>\nTitle: Nth-child CSS Pseudo-class Christmas Colors\nCategory: web\nTags: web\nSummary: Lately /me noticed HN using Christmas color scheme for their post numbering, but the source sadly read 1. below is some.\n<|hemanth|>\n", "input_text": "Nth-child CSS Pseudo-class Christmas Colors (web): Lately /me noticed HN using Christmas color scheme for their post numbering, but the source sadly read 1. below is some.", "target_text": "Lately /me noticed HN using Christmas color scheme for their post numbering, but the source sadly read `<font color=\"#be2828\">1.</font>` below is some silly code emulating the same behavior without font tag indeed!\n\nnth-child CSS pesudo-class syntax is pretty simple : `element:nth-child(an + b) { style properties }` that is matches an element that has `an+b-1` siblings before it in the document tree, for a given positive or zero value for `n`, and has a parent element.\n\nSo we want the Christmas coloring for ul, we can code as below :\n\n` //html`\n\n * 1\n * 2\n * 3\n * 4\n * 5\n\n​\n\n//css li { color: blue } \nli:nth-child(odd) { color:green } \nli:nth-child(even) { color:red }​ \n\nCheckout the [demo](http://jsfiddle.net/gnumanth/H7Ubu/) and play around.\n\nMore examples from MDN :\n\n`tr:nth-child(2n+1)` Represents the odd rows of an HTML table.\n\n`tr:nth-child(odd)` Represents the odd rows of an HTML table.\n\n`tr:nth-child(2n)` Represents the even rows of an HTML table.\n\n`tr:nth-child(even)` Represents the even rows of an HTML table.\n\n```bash\nspan:nth-child(0n+1)` Represents a span element which is the first child of its parent; this is the same as the :first-child selector.\n```\n\n`span:nth-c", "is_hemanth_target": 1, "style_metrics": {"directness": 0.4907, "hook_strength": 0.9527, "zero_fluff": 1.0, "code_first": 1.0, "cadence": 1.0, "p_hemanth": 0.9497}, "split_hint": "val"}
{"id": "critic_pos_es6-on-nodejs", "slug": "es6-on-nodejs", "task": "critic", "category": "node", "title": "ES6 on Node.js", "prompt": "<|task:critic|>\nText:\nHere I demonstrate ES6 (harmony) features using raw Node.js (v0.11.6).\n\n## Enabling Harmony Features\n\n```bash\n$ node --v8-options | grep harm\n--harmony_typeof\n--harmony_scoping\n--harmony_modules\n--harmony_symbols\n--harmony_proxies\n--harmony_collections\n--harmony_generators\n--harmony_iteration\n--harmony_numeric_literals\n--harmony_strings\n--harmony_arrays\n--harmony (enable all harmony features)\n<|hemanth|>\n", "input_text": "Here I demonstrate ES6 (harmony) features using raw Node.js (v0.11.6).\n\n## Enabling Harmony Features\n\n```bash\n$ node --v8-options | grep harm\n--harmony_typeof\n--harmony_scoping\n--harmony_modules\n--harmony_symbols\n--harmony_proxies\n--harmony_collections\n--harmony_generators\n--harmony_iteration\n--harmony_numeric_literals\n--harmony_strings\n--harmony_arrays\n--harmony (enable all harmony features)", "target_text": "verdict: authentic_hemanth_voice (p_hemanth=0.96)\ndirectness=0.79 | hook=0.77 | zero_fluff=1.00 | code_first=1.00 | cadence=0.89\nnotes: Punchy practitioner hook, zero corporate filler, concrete examples.", "is_hemanth_target": 1, "style_metrics": {"directness": 0.7853, "hook_strength": 0.77, "zero_fluff": 1.0, "code_first": 1.0, "cadence": 0.8908, "p_hemanth": 0.9586}, "split_hint": "val"}
{"id": "blog_http-request-header-from-nodejs", "slug": "http-request-header-from-nodejs", "task": "blog", "category": "nodejs", "title": "HTTP-request header from node.js", "tags": ["javascript", "nodejs"], "prompt": "<|task:blog|>\nTitle: HTTP-request header from node.js\nCategory: nodejs\nTags: javascript, nodejs\nSummary: The message header of requests and responses in the Hypertext Transfer Protocol define the operating parameters of an HTTP.\n<|hemanth|>\n", "input_text": "HTTP-request header from node.js (nodejs): The message header of requests and responses in the Hypertext Transfer Protocol define the operating parameters of an HTTP.", "target_text": "The message header of requests and responses in the Hypertext Transfer Protocol define the operating parameters of an HTTP transaction.\n\nSay if you want to do a language detection in the browser : One must be aware that browser settings don't actually affect the navigator.language property that is obtained via javascript, but they do affect is the HTTP 'Accept-Language' header, but this value is not available through javascript at all!\n\nSo we need some server side help, why not use javascript itself on the server side?\n\nIf you have still not got node on your server, do the below to get up and running :\n\n```bash\nmkdir ~/local\necho 'export PATH=$HOME/local/bin:$PATH' >> ~/.bashrc\n. ~/.bashrc\n\nsudo apt-get install libssl-dev\n\ngit clone git://github.com/joyent/node.git\ncd node\ngit checkout v0.6.6\n\n./configure --prefix=~/local\nmake install\ncd ..\n\ngit clone git://github.com/isaacs/npm.git\ncd npm\nmake install\n\nbash\n```\n\nAfter, which you must have node and npm on your box. The below is a simple script that return the HTTP-request header :\n\n```javascript\nvar http = require('http');\nhttp.createServer(function (req, res) {\n res.writeHead(200, {'Content-Type': 'text/plain'});\n res.end(JSON.s", "is_hemanth_target": 1, "style_metrics": {"directness": 0.2616, "hook_strength": 0.77, "zero_fluff": 1.0, "code_first": 0.728, "cadence": 1.0, "p_hemanth": 0.8408}, "split_hint": "val"}
{"id": "rewrite_introducing-slang-api", "slug": "introducing-slang-api", "task": "rewrite", "category": "javascript", "title": "Introducing the Slang API", "prompt": "<|task:rewrite|>\nTopic: Introducing the Slang API\nDraft:\nIn today's rapidly evolving javascript landscape, developers and organizations frequently encounter multifaceted challenges regarding Introducing the Slang API. Specifically, when delving into this paradigm, it is important to comprehensively evaluate the following technical context: Lately was working on some slang filtering module, but for the LOLz of it made a simple JSON API. The deal is pretty simple, the API takes in an SMS slang word and expands the acronym. **So, here is a simple jQuery code to get results :** Furthermore, leveraging a holistic methodology facilitates seamless developer productivity.\n<|hemanth|>\n", "input_text": "In today's rapidly evolving javascript landscape, developers and organizations frequently encounter multifaceted challenges regarding Introducing the Slang API. Specifically, when delving into this paradigm, it is important to comprehensively evaluate the following technical context: Lately was working on some slang filtering module, but for the LOLz of it made a simple JSON API. The deal is pretty simple, the API takes in an SMS slang word and expands the acronym. **So, here is a simple jQuery code to get results :** Furthermore, leveraging a holistic methodology facilitates seamless developer productivity.", "target_text": "Lately was working on some slang filtering module, but for the LOLz of it made a simple JSON API.\n\nThe deal is pretty simple, the API takes in an SMS slang word and expands the acronym.\n\n**So, here is a simple jQuery code to get results :**", "is_hemanth_target": 1, "style_metrics": {"directness": 0.7416, "hook_strength": 0.77, "zero_fluff": 1.0, "code_first": 0.35, "cadence": 0.76, "p_hemanth": 0.8589}, "draft_metrics": {"directness": 0.5071, "hook_strength": 0.5125, "zero_fluff": 0.0821, "code_first": 0.35, "cadence": 0.8474, "p_hemanth": 0.2122}, "split_hint": "val"}
{"id": "blog_generate-indexhtml-given-directory", "slug": "generate-indexhtml-given-directory", "task": "blog", "category": "linux", "title": "Generate index.html for a given directory", "tags": ["bash"], "prompt": "<|task:blog|>\nTitle: Generate index.html for a given directory\nCategory: linux\nTags: bash\nSummary: #!/bin/bash #Author : Hemanth.HM #Email : hemanth.hm@gmail.com #Purpose : To genrate index.html for a give directory. #Usage.\n<|hemanth|>\n", "input_text": "Generate index.html for a given directory (linux): #!/bin/bash #Author : Hemanth.HM #Email : hemanth.hm@gmail.com #Purpose : To genrate index.html for a give directory. #Usage.", "target_text": "#!/bin/bash\n#Author : Hemanth.HM\n#Email : hemanth.hm@gmail.com\n#Purpose : To genrate index.html for a give directory.\n#Usage : bash index.sh \n \ndir=$1\ncwd=$PWD\n \n#Check for input \n[ -z ${dir} ] && echo \"Usage : `basename $0` \" && exit 1 || cd ${dir}\n \n## In case the user gives the input as \".\"\n[ \"${dir}\" == \".\" ] && dir=`pwd`\n \n \n## Collect each file and add them to href's\nINDEX=$(for f in *; \ndo printf '\n- [%s]()\\n' \"$f\" \"$f\"; \ndone)\n\n## Create an index.html file\ncat > index.html << EOI\n\n \n \n body { font-family: serif; }\n p { font-size: 13px; }\n h2 { font-size: 24px; \n font-style: italic;\n }\n ul { font-weight: bolder; }\n \n <title>Index of ${dir}</title>\n \n \n \n Index of ${dir}\n \n $INDEX\n \n \n\nEOI\necho \"Genrated index.html in ${dir}!\"\ncd $cwd", "is_hemanth_target": 1, "style_metrics": {"directness": 0.17, "hook_strength": 1.0, "zero_fluff": 1.0, "code_first": 0.7402, "cadence": 1.0, "p_hemanth": 0.8662}, "split_hint": "val"}
{"id": "blog_how-get-info-about-all-nodes-network-ssh", "slug": "how-get-info-about-all-nodes-network-ssh", "task": "blog", "category": "linux", "title": "How to Get Info About All the Nodes in the Network via SSH ?", "tags": ["bash", "linux"], "prompt": "<|task:blog|>\nTitle: How to Get Info About All the Nodes in the Network via SSH ?\nCategory: linux\nTags: bash, linux\nSummary: Logic: 1. Checking if the host is alive. 2. Getting info about them, via remote commands. Steps: 1. Prepare password free.\n<|hemanth|>\n", "input_text": "How to Get Info About All the Nodes in the Network via SSH ? (linux): Logic: 1. Checking if the host is alive. 2. Getting info about them, via remote commands. Steps: 1. Prepare password free.", "target_text": "**Logic:** _1\\. Checking if the host is alive. 2\\. Getting info about them, via remote commands._\n\n**Steps:** _1\\. Prepare password free SSH access. 2\\. Make a simple script to get host info._\n\n**Prepare password free SSH access:** `$ssh-copy-id user@host` or cat ~/.ssh/id_dsa.pub | ssh user@remotehost 'cat >> ~/.ssh/authorized_keys\n\n**Make a simple script to get host info:** _Step 1. Get the local ip say for eth0. Step 2. Loop the range of ip and check if the host is alive. Step 3. Use ssh to getinfo from /proc_\n\n**Code** ``\n\n## !/bin/bash\n\nuser=root getNodeinfo() {\n\n## Get the ip address for the range\n\nip=$(/sbin/ifconfig eth0 | grep 'inet addr:' | cut -d: -f2 | awk '{ print $1}' | cut -d\".\" -f1,2,3)\n\n## ping test and list the hosts and echo the info\n\nfor range in $ip ; do ping -c 1 -w 1 $ip > /dev/null 2> /dev/null >> /tmp/pinglog &&[ $? -eq 0 ] ; echo \"Node $range is up\" && echo \"More info about the machine\" ; echo \"Kernel:$(ssh $user@$range cat /proc/version)\" && echo \"CPU info:$(ssh $user@$range cat /proc/cpuinfo )\" && echo \"Mem info:$(ssh $user@$range cat /proc/meminfo)\" && echo \"Release:$(ssh $user@$range lsb_release -a)\" done } **Got better method?** [Give your idea](https", "is_hemanth_target": 1, "style_metrics": {"directness": 0.7223, "hook_strength": 1.0, "zero_fluff": 1.0, "code_first": 0.5522, "cadence": 1.0, "p_hemanth": 0.9439}, "split_hint": "val"}
{"id": "rewrite_es6-on-nodejs", "slug": "es6-on-nodejs", "task": "rewrite", "category": "node", "title": "ES6 on Node.js", "prompt": "<|task:rewrite|>\nTopic: ES6 on Node.js\nDraft:\nIn today's rapidly evolving node landscape, developers and organizations frequently encounter multifaceted challenges regarding ES6 on Node.js. Specifically, when delving into this paradigm, it is important to comprehensively evaluate the following technical context: Here I demonstrate ES6 (harmony) features using raw Node.js (v0.11.6). ## Enabling Harmony Features ```bash $ node --v8-options | grep harm --harmony_typeof --harmony_scoping --harmony_modules --harmony_symbols --harmony_proxies --harmony_collections --harmony_generators --harmony_iteration --harmony_numeric_literals --harmony_strings --harmony_arrays --ha Furthermore, leveraging a holistic methodology facilitates seamless developer productivity.\n<|hemanth|>\n", "input_text": "In today's rapidly evolving node landscape, developers and organizations frequently encounter multifaceted challenges regarding ES6 on Node.js. Specifically, when delving into this paradigm, it is important to comprehensively evaluate the following technical context: Here I demonstrate ES6 (harmony) features using raw Node.js (v0.11.6). ## Enabling Harmony Features ```bash $ node --v8-options | grep harm --harmony_typeof --harmony_scoping --harmony_modules --harmony_symbols --harmony_proxies --harmony_collections --harmony_generators --harmony_iteration --harmony_numeric_literals --harmony_strings --harmony_arrays --ha Furthermore, leveraging a holistic methodology facilitates seamless developer productivity.", "target_text": "Here I demonstrate ES6 (harmony) features using raw Node.js (v0.11.6).\n\n## Enabling Harmony Features\n\n```bash\n$ node --v8-options | grep harm\n--harmony_typeof\n--harmony_scoping\n--harmony_modules\n--harmony_symbols\n--harmony_proxies\n--harmony_collections\n--harmony_generators\n--harmony_iteration\n--harmony_numeric_literals\n--harmony_strings\n--harmony_arrays\n--harmony (enable all harmony features)", "is_hemanth_target": 1, "style_metrics": {"directness": 0.6216, "hook_strength": 0.77, "zero_fluff": 1.0, "code_first": 0.35, "cadence": 1.0, "p_hemanth": 0.867}, "draft_metrics": {"directness": 0.3925, "hook_strength": 0.5125, "zero_fluff": 0.0559, "code_first": 0.35, "cadence": 0.8901, "p_hemanth": 0.1712}, "split_hint": "val"}
{"id": "rewrite_google-hourly-hot-trends-command-line", "slug": "google-hourly-hot-trends-command-line", "task": "rewrite", "category": "linux", "title": "Google Hourly Hot Trends on Command Line", "prompt": "<|task:rewrite|>\nTopic: Google Hourly Hot Trends on Command Line\nDraft:\nIn today's rapidly evolving linux landscape, developers and organizations frequently encounter multifaceted challenges regarding Google Hourly Hot Trends on Command Line. Specifically, when delving into this paradigm, it is important to comprehensively evaluate the following technical context: Well, /me back to pawing at Google from CLI, after few silly apps like getting the weather, news, sunrise and sets from terminal from me, again tonight before I hit the bed, did a silly ruby code to get the hourly hot trends on the CLI. Even though the page had CDATA in it, ignored it fully, rather took advantage of it with nokogiri in ruby to get them all. Furthermore, leveraging a holistic methodology facilitates seamless developer productivity.\n<|hemanth|>\n", "input_text": "In today's rapidly evolving linux landscape, developers and organizations frequently encounter multifaceted challenges regarding Google Hourly Hot Trends on Command Line. Specifically, when delving into this paradigm, it is important to comprehensively evaluate the following technical context: Well, /me back to pawing at Google from CLI, after few silly apps like getting the weather, news, sunrise and sets from terminal from me, again tonight before I hit the bed, did a silly ruby code to get the hourly hot trends on the CLI. Even though the page had CDATA in it, ignored it fully, rather took advantage of it with nokogiri in ruby to get them all. Furthermore, leveraging a holistic methodology facilitates seamless developer productivity.", "target_text": "Well, /me back to pawing at Google from CLI, after few silly apps like getting the weather, news, sunrise and sets from terminal from me, again tonight before I hit the bed, did a silly ruby code to get the hourly hot trends on the CLI.\n\nEven though the page had CDATA in it, ignored it fully, rather took advantage of it with nokogiri in ruby to get them all.\n\nAll you have to do is install the nokogiri gem and then try the tiny little script presented below.", "is_hemanth_target": 1, "style_metrics": {"directness": 0.2725, "hook_strength": 0.5573, "zero_fluff": 1.0, "code_first": 0.35, "cadence": 1.0, "p_hemanth": 0.6714}, "draft_metrics": {"directness": 0.2862, "hook_strength": 0.5125, "zero_fluff": 0.1462, "code_first": 0.35, "cadence": 0.904, "p_hemanth": 0.1713}, "split_hint": "val"}
{"id": "blog_grunt-usemin-example", "slug": "grunt-usemin-example", "task": "blog", "category": "tools", "title": "grunt-usemin Example", "tags": ["grunt", "build"], "prompt": "<|task:blog|>\nTitle: grunt-usemin Example\nCategory: tools\nTags: grunt, build\nSummary: Minimal example of using grunt-usemin for asset optimization. Practical notes and code examples on grunt-usemin Example by.\n<|hemanth|>\n", "input_text": "grunt-usemin Example (tools): Minimal example of using grunt-usemin for asset optimization. Practical notes and code examples on grunt-usemin Example by.", "target_text": "Minimal [grunt-usemin](https://github.com/yeoman/grunt-usemin) usage example.\n\n## HTML Build Blocks\n\n```html\n<!-- build:css assets/css/style.min.css -->\n<link rel=\"stylesheet\" href=\"./assets/css/styles.css\" />\n<!-- endbuild -->\n\n<!-- build:js assets/js/optimized.js -->\n<script src=\"./assets/js/foo.js\"></script>\n<script src=\"./assets/js/bar.js\"></script>\n<!-- endbuild -->\n```\n\n## After Running Grunt\n\n- CSS files concatenated and minified: `48 B → 39 B`\n- JS files concatenated and uglified: `75 B → 58 B`\n- HTML updated with new references\n\nRead the full [README](https://github.com/yeoman/grunt-usemin/blob/master/README.md) for more details.", "is_hemanth_target": 1, "style_metrics": {"directness": 0.3107, "hook_strength": 0.77, "zero_fluff": 1.0, "code_first": 1.0, "cadence": 1.0, "p_hemanth": 0.9016}, "split_hint": "val"}
{"id": "rewrite_l33t-translator", "slug": "l33t-translator", "task": "rewrite", "category": "javascript", "title": "L33t Translator", "prompt": "<|task:rewrite|>\nTopic: L33t Translator\nDraft:\nIn today's rapidly evolving javascript landscape, developers and organizations frequently encounter multifaceted challenges regarding L33t Translator. Specifically, when delving into this paradigm, it is important to comprehensively evaluate the following technical context: Here I introduce a dynamic 733+ translator an on the fly translator similar to Google translate. **Where i can see the translator in action?** You can here in the [demo page](http://www.h3manth.com/sites/files/l33t.html) [[ not much of an eyecandy ]] **What is l33t?** \"Leet, also known as eleet or leetspeak, is an alternative alphabet for the English langu Furthermore, leveraging a holistic methodology facilitates seamless developer productivity.\n<|hemanth|>\n", "input_text": "In today's rapidly evolving javascript landscape, developers and organizations frequently encounter multifaceted challenges regarding L33t Translator. Specifically, when delving into this paradigm, it is important to comprehensively evaluate the following technical context: Here I introduce a dynamic 733+ translator an on the fly translator similar to Google translate. **Where i can see the translator in action?** You can here in the [demo page](http://www.h3manth.com/sites/files/l33t.html) [[ not much of an eyecandy ]] **What is l33t?** \"Leet, also known as eleet or leetspeak, is an alternative alphabet for the English langu Furthermore, leveraging a holistic methodology facilitates seamless developer productivity.", "target_text": "Here I introduce a dynamic 733+ translator an on the fly translator similar to Google translate.\n\n**Where i can see the translator in action?** You can here in the [demo page](http://www.h3manth.com/sites/files/l33t.html) [[ not much of an eyecandy ]]\n\n**What is l33t?** \"Leet, also known as eleet or leetspeak, is an alternative alphabet for the English language that is used primarily on the Internet. It uses various combinations of ASCII characters to replace Latinate letters. For example, leet spellings of the word leet include 1337 and l33t; eleet may be spelled 31337 or 3l33t.\" [[ wikipedia ]]", "is_hemanth_target": 1, "style_metrics": {"directness": 0.4253, "hook_strength": 0.77, "zero_fluff": 1.0, "code_first": 0.35, "cadence": 1.0, "p_hemanth": 0.8064}, "draft_metrics": {"directness": 0.17, "hook_strength": 0.5125, "zero_fluff": 0.1149, "code_first": 0.35, "cadence": 1.0, "p_hemanth": 0.1441}, "split_hint": "val"}