<?xml version="1.0" encoding="UTF-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0" xmlns:cc="http://cyber.law.harvard.edu/rss/creativeCommonsRssModule.html">
    <channel>
        <title><![CDATA[Stories by TJ Horner on Medium]]></title>
        <description><![CDATA[Stories by TJ Horner on Medium]]></description>
        <link>https://medium.com/@tjhorner?source=rss-f2837bb19561------2</link>
        <image>
            <url>https://cdn-images-1.medium.com/fit/c/150/150/1*AYDePWZ4RMmXYqWAT3lCjQ.jpeg</url>
            <title>Stories by TJ Horner on Medium</title>
            <link>https://medium.com/@tjhorner?source=rss-f2837bb19561------2</link>
        </image>
        <generator>Medium</generator>
        <lastBuildDate>Wed, 02 Dec 2026 06:04:52 GMT</lastBuildDate>
        <atom:link href="https://medium.com/@tjhorner/feed" rel="self" type="application/rss+xml"/>
        <webMaster><![CDATA[yourfriends@medium.com]]></webMaster>
        <atom:link href="http://medium.superfeedr.com/" rel="hub"/>
        <item>
            <title><![CDATA[Intro to Node.js: Making a Telegram Bot]]></title>
            <link>https://medium.com/the-studentrnd-blog/intro-to-node-js-making-a-telegram-bot-964b8cfe1129?source=rss-f2837bb19561------2</link>
            <guid isPermaLink="false">https://medium.com/p/964b8cfe1129</guid>
            <category><![CDATA[workshop]]></category>
            <category><![CDATA[nodejs]]></category>
            <category><![CDATA[javascript]]></category>
            <category><![CDATA[tutorial]]></category>
            <category><![CDATA[codeday]]></category>
            <dc:creator><![CDATA[TJ Horner]]></dc:creator>
            <pubDate>Sat, 17 Sep 2016 01:55:58 GMT</pubDate>
            <atom:updated>2017-03-15T01:33:40.225Z</atom:updated>
            <cc:license>https://creativecommons.org/licenses/by-nc/4.0/</cc:license>
            <content:encoded><![CDATA[<p>In this workshop, we will create a simple Telegram bot that tells us how long until CodeDay ends using Node.js, the Telegram API, and the Clear API.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/888/1*CRRHRuWtdYGl-UdSJkrvQQ.jpeg" /><figcaption>The almighty Botfather.</figcaption></figure><p><em>This post is intended to serve as a guide for my </em><a href="https://codeday.org/"><em>CodeDay</em></a><em> workshop, but if you’d like to use this to make your own Telegram bot with Node.js, go right ahead :)</em></p><h3>Part I: Chat bot</h3><p>Telegram has two types of bots: chat bots and inline bots. Chat bots use commands (such as <strong>/start</strong>, <strong>/help</strong>, etc.) to interact with users. Inline bots can instead be called from anywhere and help users find and send content from your bot to any chat they wish. This section covers chat bots.</p><h4>Step 0.1: Acquire Node.js and npm</h4><p>You should have already done this before the event, but it’s a pretty small download if you still need to get it. Here are links to the version of Node.js we will be using for this workshop:</p><ul><li><strong>Windows</strong>: <a href="https://nodejs.org/dist/v6.6.0/node-v6.6.0-x64.msi">https://nodejs.org/dist/v6.6.0/node-v6.6.0-x64.msi</a></li><li><strong>macOS</strong>: <a href="https://nodejs.org/dist/v6.6.0/node-v6.6.0.pkg">https://nodejs.org/dist/v6.6.0/node-v6.6.0.pkg</a></li><li><strong>Linux</strong>: You should already know how to get Node.js.</li></ul><h4>Step 0.2: Get Telegram</h4><p>Since we’re making a Telegram bot, you’ll need a Telegram account. Head over to <a href="https://telegram.org/dl">telegram.org/dl</a> and create your account.</p><h4>Step 1: Set up your project directory</h4><p>Now that we have Node.js and npm installed and our Telegram account is ready, we can start with the project. Open up your preferred terminal and run these commands:</p><pre>mkdir codeday-telegram-bot<br>cd codeday-telegram-bot</pre><p>Now we have a directory for our Telegram bot, but we need a package.json, this tells npm information about our project. To do this, (in the same terminal window) we need to run this:</p><pre>npm init</pre><p>This command will tell npm to initialize a pre-made package.json in our project directory. Just hit enter at all of the prompts, we can worry about those later.</p><h4>Step 2: Install necessary packages</h4><p>For this project, we will only need one npm package. An npm package is essentially a piece of code (“package”) in the npm registry that we can download with a simple command, `npm install`.</p><p>We’re going to use a package called `node-telegram-bot-api`, we can install it like so:</p><pre>npm install --save node-telegram-bot-api</pre><p>The ` — save` part signals npm to save this package to our package.json so it is easily installed later, along with any other dependencies that our package may need.</p><h4>Step 3: Get a Telegram bot token</h4><p>Using Telegram, contact <a href="https://telegram.me/botfather">@botfather</a> and use the /newbot command to create a new bot. Name it whatever you’d like with any username, it doesn’t matter.</p><h4>Step 4: Write some code!</h4><p>Now that we have our bot token, we can use it to interface with the Telegram Bot API.</p><p>Create an index.js file in your project directory, then open it in your favorite text editor. Here’s some simple “Hello world” boilerplate code I’ve written to assist with this step:</p><iframe src="" width="0" height="0" frameborder="0" scrolling="no"><a href="https://medium.com/media/80de0f445b5ba945ccc09e6af6c9baaf/href">https://medium.com/media/80de0f445b5ba945ccc09e6af6c9baaf/href</a></iframe><p>Essentially, what this code does is include the library we downloaded from npm earlier, then instantiated a new `TelegramBot` object with our token and told it to poll for updates from Telegram. Then it will listen for the “text” event (which, in this library, is a simple text message) and then send a message to the chat the original message was saved saying “Hello world”.</p><p>Now, run the index.js file with this command:</p><pre>node index</pre><p>Send your bot a message. It should reply with “Hello world”. If it does, awesome! If it doesn’t, ask me.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/284/1*tYyl6aP0zMspA60G3mp25A.png" /><figcaption>It works!</figcaption></figure><h4>Step 5: Implement a simple command</h4><p>In its current state, this bot is not very useful. Let’s make it useful, how about by adding a <strong>/codeday</strong> command that tells us when CodeDay ends! We will be utilizing two more libraries here, <strong>codeday-clear</strong> and <strong>moment</strong>. <strong>codeday-clear</strong> is the official Node.js library for interacting with the Clear API. Clear is our internal CodeDay management system and has a very nice API. We will be using this API to get the ending date of CodeDay and then use <strong>moment</strong> to convert it into a human-readable format.</p><p>To install these libraries:</p><pre>npm install --save codeday-clear moment</pre><p>In our code, we then need to include these two libraries and instantiate a `Clear` instance. Since the Clear API requires access to Clear and an API token/secret pair, I have created a sample app with limited permissions for the purpose of this workshop:</p><ul><li><strong>Token</strong>: 1YZiGaj3baaLU8IKVsASRIWaNF2oJNg0</li><li><strong>Secret</strong>: 1COMnWyGnGBsNqkhaZ6WMBWB9UWZw6QZ</li></ul><p>Here’s what it should look like:</p><iframe src="" width="0" height="0" frameborder="0" scrolling="no"><a href="https://medium.com/media/216f9202886724cf679d0ae9d1a8a611/href">https://medium.com/media/216f9202886724cf679d0ae9d1a8a611/href</a></iframe><p>This code should go right after where we declare the `telegram` instance (this should be line 3 if you are following along). Now that we have our Clear and moment instances declared, we can use them in a simple command. Let’s replace the code inside of the “text” event with something like this:</p><iframe src="" width="0" height="0" frameborder="0" scrolling="no"><a href="https://medium.com/media/6dfb6c6795a472e9e839acf8931baad2/href">https://medium.com/media/6dfb6c6795a472e9e839acf8931baad2/href</a></iframe><p>Here’s a breakdown of what’s happening here:</p><ul><li>We check with the JavaScript `indexOf` function if the message starts with <strong>/codeday</strong></li><li>If it does, we tell the Clear library to grab the event with ID <strong>oo4QIuKQQTYA</strong> (that’s San Diego Fall 2016’s ID)</li><li>We use a callback function once it gets the event, and then parse the `ends_at` date with <strong>moment</strong>. (We multiply it by 1000 to convert it to milliseconds (which moment understands), since Clear sends this date in a UNIX timestamp format.)</li><li>We then use <strong>moment</strong>’s `fromNow` function to get the relative time (e.g. “in 10 hours”) of the `endsAt` date and then send that all through the Telegram API.</li></ul><figure><img alt="" src="https://cdn-images-1.medium.com/max/310/1*o5g4U7bYKUPAq6I6D8Gj_w.png" /><figcaption>Since I wrote this post two months before CodeDay, this happened…</figcaption></figure><h4>Step 6: Getting fancy with Markdown</h4><p>Telegram supports messages sent with <strong>Markdown</strong>, a simple way to format text. Let’s make the end date bold as an example.</p><p>In Telegram’s version of Markdown, we will surround the text we want to bold with asterisks, so the raw message we send to Telegram should look something like this:</p><blockquote>CodeDay ends *in 2 months*!</blockquote><p>To implement this, it’s rather simple; all we need to do is surround the end date in asterisks and then pass the `parse_mode` parameter to the Telegram API and set it to “Markdown”, this will tell the Telegram API that we want the text to render as Markdown.</p><p>The modified code could look something like this:</p><iframe src="" width="0" height="0" frameborder="0" scrolling="no"><a href="https://medium.com/media/3c9114ba69b68d1eb1dc4eee71c5c7f5/href">https://medium.com/media/3c9114ba69b68d1eb1dc4eee71c5c7f5/href</a></iframe><p>Now when we run the <strong>/codeday</strong> command, it will look like this instead:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/314/1*LT5DM_fkl1_vw6TuVLaZEw.png" /><figcaption>Fancy bold text!</figcaption></figure><p>Telegram also supports italics, inline code, code blocks, and inline URLs along with the bold option we just used.</p><h3>Part II: Inline bot</h3><p>This section will cover how to turn this bot into an inline bot, which can be called from anywhere and help users find and send content from your bot.</p><h4>Step 0: Enable inline mode in Botfather</h4><p>Bots don’t have inline mode enabled by default, so you need to send the <strong>/setinline</strong> command to Botfather to enable it. You can use anything as your placeholder text, but I used “Search CodeDays…” as mine.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/488/1*PcwCVjKJ-TCUkeJHXk6paQ.png" /><figcaption>Here’s what your conversation with Botfather should look like.</figcaption></figure><p>After you enable inline mode, you may need to restart whatever Telegram client you’re using for the changes to take effect (since they’re cached). Once you restart, type your bot’s username then a space. If you see the placeholder text you set, you’re ready for the next step.</p><h4>Step 1: Implement inline queries</h4><p>Now we need to tell our script how to react to inline queries. To do this, here’s some boilerplate “Hello world” code I’ve written to simplify the process:</p><iframe src="" width="0" height="0" frameborder="0" scrolling="no"><a href="https://medium.com/media/8cc3a9c56ec40b8430f71a1efd6e8cae/href">https://medium.com/media/8cc3a9c56ec40b8430f71a1efd6e8cae/href</a></iframe><p>Here’s how it works:</p><ul><li>Upon an inline query…</li><li>Respond with an array with 1 “article” result…</li><li>Which has a title of “Hello world” and sends the message “Hello, world! This was sent from my super cool inline bot.”</li></ul><h4>Step 2: Implement Clear API</h4><p>Now let’s actually make it show the CodeDay events. We need to iterate over every event and turn them into an object the Telegram API understands, so you could have something like this:</p><iframe src="" width="0" height="0" frameborder="0" scrolling="no"><a href="https://medium.com/media/264e6fb21815a82f1afc5943c0df55e2/href">https://medium.com/media/264e6fb21815a82f1afc5943c0df55e2/href</a></iframe><p>So what we’re doing here is…</p><ul><li>Upon an inline query…</li><li>Ask Clear for a list of events…</li><li>Then turn those events into objects the Telegram API can understand…</li><li>And make the message content the venue the CodeDay is at.</li></ul><h3>Part III: Conclusion</h3><p>Now that you know the basics of bot creation, I encourage you to play around with Telegram’s bot API and make something awesome with it! You can make games, tools, calculators(?)… anything, really. Go check out the docs and see what you can build! <a href="https://core.telegram.org/bots/api">https://core.telegram.org/bots/api</a></p><p><strong>And remember, have fun!</strong></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=964b8cfe1129" width="1" height="1" alt=""><hr><p><a href="https://medium.com/the-studentrnd-blog/intro-to-node-js-making-a-telegram-bot-964b8cfe1129">Intro to Node.js: Making a Telegram Bot</a> was originally published in <a href="https://medium.com/the-studentrnd-blog">The StudentRND Blog (Archived)</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Back to School Vulnerabilities]]></title>
            <link>https://medium.com/tj-horner/back-to-school-vulnerabilities-fbdb0d97da84?source=rss-f2837bb19561------2</link>
            <guid isPermaLink="false">https://medium.com/p/fbdb0d97da84</guid>
            <category><![CDATA[wallpaper]]></category>
            <category><![CDATA[security]]></category>
            <dc:creator><![CDATA[TJ Horner]]></dc:creator>
            <pubDate>Mon, 12 Sep 2016 23:12:47 GMT</pubDate>
            <atom:updated>2016-09-12T23:13:44.530Z</atom:updated>
            <content:encoded><![CDATA[<p><strong>Back to school. It sucks. But hey, I get to see how many security vulns there are in the school’s stuff. Not that I’m saying it’s a good idea to do that. Don’t.</strong></p><p><a href="https://write.tjhorner.com/blog/post/back-to-school-vulnerabilities"><em>Post migrated from my original blog, original date Sept. 14, 2015</em></a></p><p>I was on my district’s “cloud”, it’s really some software made by Stoneware. It’s really bad. Just saying. ANYWAY, I don’t like their wallpaper selection:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*-Nm7CQaH0p-NarLs." /><figcaption>Bad wallpapers.</figcaption></figure><p>So, naturally, I go and see how it sends the “change wallpaper” request.</p><p>I go into DevTools, and it looks like this:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/639/0*OiPJCavGKuJfnWCm." /></figure><p>So it’s setting a property called UniversalProfileBackground to an absolute URL of the background. Simple enough, change the URL to something else!</p><p>Copied the request as cURL, changed that param to <a href="http://i.imgur.com/wt4NRqA.jpg">this image</a>. Let’s see what happened!</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*6jmzYJnucy6tl6ii.jpg" /></figure><p>What?! That’s not the image I wanted, but something definitely changed… let’s see the settings.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/328/0*XAHuWBjwIONtRwyH." /></figure><p>So it changed the paramater, awesome. But why isn’t it actually my wallpaper? Let’s see if it does some validation.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*w4O5d7rYk1WcXW7u." /></figure><p>Huh, would you look at that, it does. Maybe I could override the path paramater by appending &amp;path=/images/wallpapers/thumbnails/lenovo_Gradients_Black.gif to that? Imgur doesn’t really care about the filetype, so no worrying about that.</p><p>Alright, let’s refresh.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*uua1-NPmMxa8MjZU." /></figure><p>Lo and behold, it worked! Wow. That’s really insecure. Nothing too harmful, but someone could theoretically XSS with this.</p><p>And yes, I know I could’ve just written a userstyle to do this, but this is more fun. Plus, this will update everywhere!</p><p><strong>POST EDIT:</strong></p><p>Tested, yeah, XSS is definitely possible. It’s also really convenient since the URL is actually inside of a script lol. So I just appended “;alert(“ohai”)”yo to fit in with the script. Got an alert that said ohai.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=fbdb0d97da84" width="1" height="1" alt=""><hr><p><a href="https://medium.com/tj-horner/back-to-school-vulnerabilities-fbdb0d97da84">Back to School Vulnerabilities</a> was originally published in <a href="https://medium.com/tj-horner">TJ Horner</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Why does Medium look so bad now]]></title>
            <link>https://medium.com/@tjhorner/why-does-medium-look-so-bad-now-d132ab8214e4?source=rss-f2837bb19561------2</link>
            <guid isPermaLink="false">https://medium.com/p/d132ab8214e4</guid>
            <category><![CDATA[medium]]></category>
            <dc:creator><![CDATA[TJ Horner]]></dc:creator>
            <pubDate>Fri, 09 Oct 2015 05:07:59 GMT</pubDate>
            <atom:updated>2015-10-09T05:07:59.252Z</atom:updated>
            <content:encoded><![CDATA[<p>Medium used to look so good. You had a hero picture, along with some minimal branding and the title/caption/author right there. If the article interested you, scroll down and a really nice transition does things. C’mon. This is why I liked Medium.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*KoMY31i10SZNq1mC.png" /><figcaption>credit: <a href="http://fontsinuse.com/uses/5783/medium-com-2013">http://fontsinuse.com/uses/5783/medium-com-2013</a></figcaption></figure><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=d132ab8214e4" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[PennApps Winter 2015]]></title>
            <link>https://medium.com/@tjhorner/pennapps-winter-2015-c63cbb3b6292?source=rss-f2837bb19561------2</link>
            <guid isPermaLink="false">https://medium.com/p/c63cbb3b6292</guid>
            <dc:creator><![CDATA[TJ Horner]]></dc:creator>
            <pubDate>Fri, 23 Jan 2015 02:47:18 GMT</pubDate>
            <atom:updated>2015-01-23T02:47:18.065Z</atom:updated>
            <content:encoded><![CDATA[<p>Last weekend, I went to PennApps. It was one of the best and weirdest weekends of my life.</p><h3>Getting There</h3><p>Getting there wasn&#39;t too bad, except that my flight was delayed. I was about 30 minutes late but really didn’t miss anything except for sponsor prizes.</p><h3>IDEAS. And food. Don’t forget the food.</h3><p>Our team (Jay, Victor, and I) had a hard time choosing an idea. We went to get some food (cheesesteaks, yum!) and sat down with a stream of ideas. We first decided on collaborative music visualization with an Oculus. After a few hours, we realized that making it would be very hard to integrate WebSocket with Unity. We scrapped the idea and had more and more ideas. My original idea (before PennApps) sorta made it. It’s <a href="https://www.youtube.com/watch?v=fvguFcL0RuQ">collaborative MIDI controllers</a>. It allows musicians to use programs that support MIDI, FL Studio for example, wirelessly. It uses node.js with a client script and server script. The server script will create a virtual MIDI I/O port and WebSocket server while the client will open any MIDI devices connected to the system and send them to the server.</p><p><em>There’s more to come, I need to get all the pictures downloaded and write more stuff.</em></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=c63cbb3b6292" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[CodeDay San Diego Fall 2014]]></title>
            <link>https://medium.com/@tjhorner/codeday-san-diego-fall-2014-fff3fd272d42?source=rss-f2837bb19561------2</link>
            <guid isPermaLink="false">https://medium.com/p/fff3fd272d42</guid>
            <dc:creator><![CDATA[TJ Horner]]></dc:creator>
            <pubDate>Tue, 11 Nov 2014 05:38:04 GMT</pubDate>
            <atom:updated>2014-11-11T05:38:04.728Z</atom:updated>
            <content:encoded><![CDATA[<p>CodeDay is a 24-hour programming marathon taken place in 23 cities across the nation.</p><p>Its goal is to get students into programming which is a big field. I was one of the organizers for CodeDay San Diego along with <a href="http://tompaulus.com/">Tom Paulus</a> and Ayesha Haque.</p><p>I came at 10-ish to get things set up at the venue, Ansir Innovation Center. Two of my friends came with me and they became slaves for us. One of our jobs was to get 4 large bags of ice from the 7–11 a half a mile away from the venue.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/960/0*-kC6oAbn6M_HhKV6.jpg" /></figure><p>When the doors opened, everyone poured in. So many devices were plugged in so we had a power outage. The internet was backed up so much, we had to kill the internet for a while. We had lunch shortly after that at 12. It was provided by Stacked and it was delicious! We then had Tom kick off the event giving them a rundown then thanking the sponsors. People also pitched their ideas, it had really crazy stuff from a game where you play as Barack Obama and kill ISIS to an application that would gather data from all around the world and predict the future. At 1, everyone assembled their teams and went to work!</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/988/0*Q91WSXE3plYUEJgf.jpg" /></figure><p>For dinner, we had pizza from Papa Johns. Around this time, the internet went completely down. We had one participant try and fix it for hours, but couldn’t succeed.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/988/0*CX5aFroe4H-Xb41a.jpg" /></figure><p>Nearing the end, all the teams presented their projects and judges judged. We tore down at 12 on Sunday and congratulated everyone. There is much much more that happened, and I’ll tell you in a later Medium post.</p><p>Cheers!</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=fff3fd272d42" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[The Internet of Things: How It Helps And Hurts Us]]></title>
            <link>https://medium.com/@tjhorner/the-internet-of-things-how-it-helps-and-hurts-us-bbf89fff48cf?source=rss-f2837bb19561------2</link>
            <guid isPermaLink="false">https://medium.com/p/bbf89fff48cf</guid>
            <dc:creator><![CDATA[TJ Horner]]></dc:creator>
            <pubDate>Sun, 12 Oct 2014 19:41:42 GMT</pubDate>
            <atom:updated>2014-10-13T05:54:52.562Z</atom:updated>
            <content:encoded><![CDATA[<p>The way we use technology is drastically changing.</p><p>Instead of using our phones for a phone, we use it for <em>everything</em>. Products like <a href="https://nest.com/">Nest</a> and the <a href="http://www2.meethue.com/en-us/">Philips Hue</a> demonstrate this movement called the “Internet of Things”. Everyday objects will be internet-enabled, allowing us to control it from your laptop, smartphone, anything. In the future, instead of having to carry around a garage door opener we’d just have to <a href="https://assurelink.craftsman.com/">click a button on our phone</a> and it would open. Door locks would be smartphone-enabled. <a href="http://www.teslamotors.com/models">Your car</a> would be smartphone-enabled. All of these things exist today, sure. But they’re not normal — yet. There is good and bad that come out of this.</p><p>Here’s what’ll happen.</p><h4>Isn&#39;t this all a good thing?</h4><p>Yes and no. It would be convenient for the end user in the long run of course. Some people can get skeptical. Since all of the devices in your home would be web-enabled, it also means that they would be vulnerable to attacks. This would be very rare, but it could still happen. Let’s use <a href="https://ifttt.com/">IFTTT</a> as an example. If you linked all of your in-home devices to IFTTT, and an attacker got into their servers, he’d have access to all of your devices and could control them at his will. You wouldn&#39;t want to come home to your house being a freezer itself would you? It would be nice to have control over your home from anywhere though.</p><h4>I have one of those devices. Should I be worried?</h4><p>No, you shouldn&#39;t. If anything gets out of control, you have the power to disconnect that device. You can turn it off from the physical device in case an attacker gets in. As long as you keep that control, everything should be fine.</p><h4>How would this benefit me?</h4><p>Well, let’s use an example that I use every day. I have the Android app Tasker on my phone set up for when I get home, it activates the little Chrome extension I made to turn on my music. You could also automate many tasks that you usually do when you get home. You could also make it so that when your alarm goes off, your lights flash rapidly. There are plenty more examples in the <a href="https://ifttt.com/recipes/collections/32-recipes-for-the-internet-of-things">Internet of Things IFTTT collection</a>.</p><h4>Conjecture</h4><p>The idea of IoT is great, and we don’t need to worry about it for now, just enjoy it. However, if black hat hackers found a major flaw in the system, it would be Watch_Dogs in real life.</p><p>Make the internet work for you.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=bbf89fff48cf" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[What inspired me to learn how to code?]]></title>
            <link>https://medium.com/@tjhorner/what-inspired-me-to-learn-how-to-code-2d6c3d13e1f4?source=rss-f2837bb19561------2</link>
            <guid isPermaLink="false">https://medium.com/p/2d6c3d13e1f4</guid>
            <dc:creator><![CDATA[TJ Horner]]></dc:creator>
            <pubDate>Sun, 12 Oct 2014 06:09:44 GMT</pubDate>
            <atom:updated>2014-10-12T06:14:50.775Z</atom:updated>
            <content:encoded><![CDATA[<p>Going back to when I was 7, I had my HP Pavilion Media Center PC m7000. I was on YouTube looking at random things when I saw an ActionScript tutorial on how to change your cursor inside of a Flash animation. I thought this was amazing, I could get my own stuff on the screen like that. After that, I looked into website creation. At first, I used WYSIWYG editors (first being freewebs.com). I wanted to actually “make” it though. I looked up “how to make webpage” on Google and went through some basic HTML tutorials. I find some other tutorials and follow them completely. I was a Google nerd even back then, I tried all the beta stuff for Google like Google Docs and Google Wave. I literally copy-pasted the website into a Google Doc and edited it. Seriously.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*0YziEg0C0l3GKRDE.png" /><figcaption>My old Google Docs From ‘08. Yes, they&#39;re pretty embarrassing.</figcaption></figure><p>A few years later, I saw <a href="https://www.youtube.com/watch?v=6Ct6emxVR9w">Tinkernut’s tutorials</a> on how to make a website (he redid them though). I followed them from there and I still have the original code, I can host it if anybody wants me to. My interest just shot up from there; I had the urge to <em>create.</em></p><p><em>Originally published at </em><a href="http://write.tjhorner.com/blog/post/what-inspired-me-to-learn-how-to-code"><em>write.tjhorner.com</em></a><em>.</em></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=2d6c3d13e1f4" width="1" height="1" alt="">]]></content:encoded>
        </item>
    </channel>
</rss>