<?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 Austin Pocus on Medium]]></title>
        <description><![CDATA[Stories by Austin Pocus on Medium]]></description>
        <link>https://medium.com/@austin.pocus?source=rss-5ba20fe459a6------2</link>
        <image>
            <url>https://cdn-images-1.medium.com/fit/c/150/150/1*hS7WyzieBsr1cnsfkCFTFA.png</url>
            <title>Stories by Austin Pocus on Medium</title>
            <link>https://medium.com/@austin.pocus?source=rss-5ba20fe459a6------2</link>
        </image>
        <generator>Medium</generator>
        <lastBuildDate>Mon, 23 Nov 2026 23:11:09 GMT</lastBuildDate>
        <atom:link href="https://medium.com/@austin.pocus/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[The Decentralized Internet is Closer than You Think]]></title>
            <link>https://medium.com/hackernoon/the-decentralized-internet-is-closer-than-you-think-5cef32cabb73?source=rss-5ba20fe459a6------2</link>
            <guid isPermaLink="false">https://medium.com/p/5cef32cabb73</guid>
            <category><![CDATA[blockchain]]></category>
            <category><![CDATA[politics]]></category>
            <category><![CDATA[hackernoon-top-story]]></category>
            <category><![CDATA[decentralization]]></category>
            <category><![CDATA[futurism]]></category>
            <dc:creator><![CDATA[Austin Pocus]]></dc:creator>
            <pubDate>Tue, 28 May 2019 00:57:57 GMT</pubDate>
            <atom:updated>2019-05-28T15:21:00.883Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*eBZrWn2oyPO3oAIm-v5uPg.jpeg" /><figcaption>Photo by <a href="https://unsplash.com/photos/ZArDeAtxj0Q?utm_source=unsplash&amp;utm_medium=referral&amp;utm_content=creditCopyText">freestocks.org</a> on <a href="https://unsplash.com/search/photos/graph-network?utm_source=unsplash&amp;utm_medium=referral&amp;utm_content=creditCopyText">Unsplash</a></figcaption></figure><p>I just read a question that <a href="https://hackernoon.com/@DavidSmooke">David, our CEO at Hacker Noon</a>, had for <a href="https://community.hackernoon.com/t/im-muneeb-co-founder-of-blockstack-ask-me-anything-noon-pst-5-28-19/2808">Muneeb Ali, CEO of Blockstack</a>. In this question, David said,</p><blockquote><em>Sometimes for people who lack patience, like myself, a truly decentralized internet can feel about as close as the afterlife. In a lot of ways the internet is even more centralized than age old industries like real estate. The infrastructural approaches — like the one Blockstack is taking — are long but necessary work to a more decentralized internet.</em></blockquote><p>I have to agree, and disagree, at the same time. Let me explain, first by disagreeing.</p><p>We’re closer than we’ve ever been. The technology is finally catching up to the dreams painstakingly sketched in whitepapers from the 60s to the 90s. We have computers so fast that Diffie-Hellman key exchange, where you get a secret key transmitted over an open, vulnerable network, is dirt cheap. RSA is no longer as cost-prohibitive as it used to be. At the same time, I’m fucking terrified of what’s to come.</p><p><a href="https://papers.ssrn.com/sol3/papers.cfm?abstract_id=1930017">Anonymity and privacy are a thing of the past.</a> No longer is it reasonable to use PGP and remailers to preserve your privacy. Tor is a honeypot. Blockchain-based, decentralized, distributed apps are notoriously difficult to implement, and the blockchain is ultimately an open ledger — there’s no anonymity (or pseudonyms with reputations, for that matter).</p><p>I want to be optimistic, with politicians like Elizabeth Warren threatening to break up tech monopolies, just as Standard Oil and Ma Bell were broken up in previous generations (I’m bullish on Warren). To break up the centralized giants is to create a need for an alternative, which is more likely now than ever to be decentralized.</p><p>But (and there’s always a “but”) the regulators are not our friends. Regulators, while in a trusted position, are all too human, and are susceptible to all the corruption, viciousness, and evil that any human is capable of. I’m not saying government is evil, just that absolute power corrupts absolutely. See: the NSA’s PRISM program, the Clipper Chip, the Tuskeegee Experiments, apartheid in South Africa, and so on, etc.</p><p>So why do I say “the decentralized internet is closer than you think”?</p><p>I think things are going to come to a head. The internet is going to expose so much information, or software is going to kill so many people by human mistake in the code, that regulators will have to step in out of their very responsibility. What will we do in that scenario?</p><p>There are a few options, as I see it. We can accept whatever regulation the legislators deem fit, and hope they understand the technology well enough to craft the law correctly. We can create our own self-regulation, such that legislators will borrow concepts and legal language from the existing frameworks. Or, people will go underground.</p><p>In any case, people are going to go underground. I’ve often thought about computing’s usefulness in post-apocalyptic scenarios. What good would my skill do, in that situation? Communications is the obvious answer, and obviously, you wouldn’t have centralized entities as we know them in that scenario. Decentralized networks would become a necessity. Likewise, the criminal underground, terrorist groups, drug dealers, human traffickers, and all sorts of unsavory folks would populate this sort of network, because in a fully decentralized system, you’d have to have some notion of trust and reputation, however a given network might define it.</p><p>It’s ultimately more human, to have a decentralized network. It’s closer to what we actually do in real life. At least, the way I see it, trust and reputation systems in a decentralized network would ideally derive from the way people actually interact. If I know Dane, and Dane knows Janet, and Janet knows Frank, I might be able to talk to Frank, but I wouldn’t trust him as much as Janet, and I wouldn’t trust her as much as Dane, and so on. Through repeated interaction, we gain trust, but as they say, “trust is earned in drops and lost in buckets”.</p><p>This is turning into a rant, but my point is this: decentralized networks are closer than you think. They’re bubbling under the surface, waiting for the right time, the right place. The possibilities are laid out before us, but the question is:</p><p>What will it take for the majority of people to adopt decentralized networks? Will it be an underground movement? A criminal underground? Or a revolution in the way we use computers, to put data back in the control of the people who create it?</p><p>HOT TAKE EDIT: fuck me, that got dark. Here’s something to brighten up your day:</p><iframe src="https://cdn.embedly.com/widgets/media.html?src=https%3A%2F%2Fwww.youtube.com%2Fembed%2FKSGuBNopzBw%3Ffeature%3Doembed&amp;url=http%3A%2F%2Fwww.youtube.com%2Fwatch%3Fv%3DKSGuBNopzBw&amp;image=https%3A%2F%2Fi.ytimg.com%2Fvi%2FKSGuBNopzBw%2Fhqdefault.jpg&amp;key=a19fcc184b9711e1b4764040d3dc5c07&amp;type=text%2Fhtml&amp;schema=youtube" width="640" height="480" frameborder="0" scrolling="no"><a href="https://medium.com/media/024c3803e01f1b030e9753f0f3df7515/href">https://medium.com/media/024c3803e01f1b030e9753f0f3df7515/href</a></iframe><p><em>Originally published at </em><a href="https://community.hackernoon.com/t/the-decentralized-internet-is-closer-than-you-think/2873"><em>https://community.hackernoon.com</em></a><em> on May 28, 2019.</em></p><iframe src="https://cdn.embedly.com/widgets/media.html?src=https%3A%2F%2Fupscri.be%2Fdde502%3Fas_embed%3Dtrue&amp;dntp=1&amp;url=https%3A%2F%2Fupscri.be%2Fhackernoon%2F&amp;key=a19fcc184b9711e1b4764040d3dc5c07&amp;type=text%2Fhtml&amp;schema=upscri" width="800" height="400" frameborder="0" scrolling="no"><a href="https://medium.com/media/3c851dac986ab6dbb2d1aaa91205a8eb/href">https://medium.com/media/3c851dac986ab6dbb2d1aaa91205a8eb/href</a></iframe><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=5cef32cabb73" width="1" height="1" alt=""><hr><p><a href="https://medium.com/hackernoon/the-decentralized-internet-is-closer-than-you-think-5cef32cabb73">The Decentralized Internet is Closer than You Think</a> was originally published in <a href="https://medium.com/hackernoon">HackerNoon.com</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Hacker Noon 2.0 Dev Update 2: Electric Boogaloo]]></title>
            <link>https://medium.com/hackernoon/hacker-noon-2-0-dev-update-2-electric-boogaloo-d72f3159bcb?source=rss-5ba20fe459a6------2</link>
            <guid isPermaLink="false">https://medium.com/p/d72f3159bcb</guid>
            <category><![CDATA[hackernoon-top-story]]></category>
            <category><![CDATA[firebase]]></category>
            <category><![CDATA[architecture]]></category>
            <category><![CDATA[hackernoon-dev-series]]></category>
            <category><![CDATA[software-development]]></category>
            <dc:creator><![CDATA[Austin Pocus]]></dc:creator>
            <pubDate>Fri, 12 Apr 2019 17:51:15 GMT</pubDate>
            <atom:updated>2019-04-13T16:21:45.056Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*Wgain_Hpq2-Zwv6UB6hW3g.jpeg" /><figcaption>Photo by <a href="https://unsplash.com/photos/cNqwm1RB7Tw?utm_source=unsplash&amp;utm_medium=referral&amp;utm_content=creditCopyText">José Miguel</a> on <a href="https://unsplash.com/search/photos/electric-boogaloo?utm_source=unsplash&amp;utm_medium=referral&amp;utm_content=creditCopyText">Unsplash</a></figcaption></figure><p>For the past few months, I’ve been hacking away on Hacker Noon 2.0. In that time, I’ve encountered a wide array of technical challenges, gotchas, tricks, and treats. Today, I’d like to share some of that with you, our community.</p><p>Let’s start with some of our architecture: we started by using Firebase on the backend, and React on the frontend. <a href="https://hackernoon.com/lightning-talks-at-github-hq-how-a-cdn-saved-our-hosting-bill-b5cc1c6edaa5">As discussed at our Github event at the beginning of March</a>, we quickly discovered that Firebase costs would get out of hand. Long story short, we decided to go with a hybrid system, one that uses a CDN (content delivery network) to serve high-traffic pages like the homepage, story pages, and so on, and a fully-powered Firebase app will serve pages like the story editor, the editor dashboard, the admin dashboard, etc. This structure will reduce our hosting costs by an estimated 90%!</p><p>This architecture has served up some interesting challenges, not least among them single sign-on, or SSO. SSO is, to be blunt, a pain in the ass, but it’s necessary. We’re going to have the root domain, the app subdomain, and the community subdomain, and we certainly don’t want you to have to log into 3 separate apps, with different logins…that would be a nightmare, and most people simply wouldn’t do it.</p><p>How do you implement SSO using Firebase, along with Discourse for our community forum? <a href="https://meta.discourse.org/t/official-single-sign-on-for-discourse-sso/13045">The details</a> <a href="https://meta.discourse.org/t/sso-with-firebase/56524/10">are a bit hairy</a>, but essentially the process is this:</p><ol><li>You click the “Get Started” button at the top-right of <a href="http://community.hackernoon.com/">community.hackernoon.com</a></li><li>You’ll be redirected to an authentication page on <a href="http://auth.hackernoon.com/">auth.hackernoon.com</a>, which carries with it “sso” and “sig” parameters in the URL.</li><li>You enter your email. If your email address hasn’t been verified, you’ll receive an email with a link to continue.</li><li>At this point, you’ll be on the password page. This will accept your email and password, logging into Firebase and generating a Firebase ID token.</li><li>The ID token, “sso”, and “sig” parameters are sent to the backend.</li><li>The backend deconstructs the “sso” parameter, extracting a nonce and verifying the payload’s authenticity in the process using an HMAC and comparing the result to the “sig” parameter.</li><li>The backend generates a new payload containing the user’s verified email, name, handle, and so on, and packages it together with the nonce in a base64-encoded blob.</li><li>This payload is sent back to Discourse (the community forum) and you’re signed in!</li></ol><p>The process is a little bit different for login, but the meat of it is the same. This ended up being an extremely involved process that took a lot of trial-and-error to implement. I was extremely thankful for the guides I linked above — without those, we may not have SSO.</p><p>So what’s the upshot of all this jibber-jabber? A few benefits:</p><ul><li>You’ll have one login for all Hacker Noon 2.0 properties, including <a href="http://community.hackernoon.com/">community.hackernoon.com</a>, the community forum, and <a href="http://app.hackernoon.com/">app.hackernoon.com</a>, where you’ll write and submit stories in 2.0.</li><li>Thanks to email verification, no one can claim your email as their own.</li><li>You can request any handle you desire, as long as you don’t take a trademarked name or impersonate someone. Pseudonyms are a-ok though! There’s plenty of prime real estate left as I write this, so use your imagination — the sky’s the limit!</li><li>Thanks to the CDN, your stories are going to load fast. Since they’re largely static pages, and all of the essential data is embedded statically, there will be hardly any load time and the pages will be SEO-friendly by default.</li></ul><p>Next up: I’ve been working on a ton of optimizations to our page building system. The system, as of a few days ago, was extremely naive, simply rebuilding the pages when anything was updated. Soon, the system will build only what’s necessary. In the coming days, I’ll be working on a split between markup and data for certain things like emoji reactions, sponsorships, and so on, which will allow us to update a simple JSON file instead of regenerating the entire HTML page. I’m also writing queries to “fill in” parts of the page that are currently static, like the “More Stories” section or “related tags”.</p><p>Overall, it’s been a wild ride so far, and I wouldn’t trade it for anything. We’re working at breakneck speed to get this to launch, and it’s honestly thrilling. Not to mention fun! I’m having an absolute blast building 2.0 from the ground up, and iterating on initial approaches to content generation, SSO, and a host of other problems we’ve solved.</p><p>Iteration, in the end, will make or break this platform. This isn’t just cleaning up troublesome code, or refactoring, or clearing tech debt. This is fundamentally reconsidering your approach, your assumptions. I guess it could fall under the umbrella of refactoring, but it’s an extreme form.</p><p>To me, iteration has meant I can code quick and dirty solutions, but I have to clean up my mess when I’m done. It means we can ship bare bones functionality now and handle edge cases after. These ideas might be raising alarm bells for some of you — they certainly did for me, at first. However, keep in mind we’re talking about fixing things immediately after you first publish them. And <a href="https://deviq.com/boy-scout-rule/">with the boy scout rule in mind</a>, the code is getting cleaner all the time.</p><p>That is, you clean the code if the concept is worth pursuing. There’s no sense in cleaning something up when it’s going to be thrown away, after all. Test the concept, not the code, and see if it has legs. Then, given user feedback, decide whether it has value and clean and refactor from there, incorporating the better parts of the feedback you received.</p><p>On the opposite end, you have some companies with processes that dictate clean production code, always. You can’t deploy “dirty” code, even if it gets the job done. Sometimes there are good reasons for this. But too often, companies imitate the processes of larger companies without thought as to how they apply to their particular situation. This turns a 3 day task into 3 weeks.</p><p>I’m not suggesting this is all there is to iteration. It especially applies to the UX as well, but that’s not something I’m as well-versed on as backend code, authentication systems, and so on. I could give you examples of iterations on user-facing features, but <a href="https://www.youtube.com/watch?v=Ow2lje7UBd4">our CPO, Dane Lyons, has done a better job than I could</a>.</p><p>Ultimately, iteration means we have to always be improving. It means that launch isn’t the finish line. It means we have to swim or die. Which means: I should be getting back to work.</p><p><em>Originally published at </em><a href="https://community.hackernoon.com/t/hacker-noon-2-0-dev-update-2-electric-boogaloo/1953"><em>community.hackernoon.com</em></a><em> on April 12, 2019.</em></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=d72f3159bcb" width="1" height="1" alt=""><hr><p><a href="https://medium.com/hackernoon/hacker-noon-2-0-dev-update-2-electric-boogaloo-d72f3159bcb">Hacker Noon 2.0 Dev Update 2: Electric Boogaloo</a> was originally published in <a href="https://medium.com/hackernoon">HackerNoon.com</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Lightning Talks at Github HQ: How a CDN Saved Our Hosting Bill]]></title>
            <link>https://medium.com/hackernoon/lightning-talks-at-github-hq-how-a-cdn-saved-our-hosting-bill-b5cc1c6edaa5?source=rss-5ba20fe459a6------2</link>
            <guid isPermaLink="false">https://medium.com/p/b5cc1c6edaa5</guid>
            <category><![CDATA[github-hackernoon]]></category>
            <category><![CDATA[dev-story]]></category>
            <category><![CDATA[github]]></category>
            <category><![CDATA[hackernoon-dev-series]]></category>
            <category><![CDATA[public-speaking]]></category>
            <dc:creator><![CDATA[Austin Pocus]]></dc:creator>
            <pubDate>Mon, 01 Apr 2019 11:11:03 GMT</pubDate>
            <atom:updated>2023-07-14T04:24:38.367Z</atom:updated>
            <content:encoded><![CDATA[<h4><a href="https://hackernoon.com/lightning-talks-at-github-hq-how-a-cdn-saved-our-hosting-bill-b5cc1c6edaa5">#DevStories at Github HQ:What I Learned in Preparing for My First Dev Talk — How a CDN Saved Our Hosting Bill</a></h4><iframe src="https://cdn.embedly.com/widgets/media.html?src=https%3A%2F%2Fwww.youtube.com%2Fembed%2FUQgJXCBpRFw%3Ffeature%3Doembed&amp;url=http%3A%2F%2Fwww.youtube.com%2Fwatch%3Fv%3DUQgJXCBpRFw&amp;image=https%3A%2F%2Fi.ytimg.com%2Fvi%2FUQgJXCBpRFw%2Fhqdefault.jpg&amp;key=a19fcc184b9711e1b4764040d3dc5c07&amp;type=text%2Fhtml&amp;schema=youtube" width="854" height="480" frameborder="0" scrolling="no"><a href="https://medium.com/media/3d07af6c38487b35615d79559ae486e3/href">https://medium.com/media/3d07af6c38487b35615d79559ae486e3/href</a></iframe><h3>Last month, I gave my first dev talk! It was the first time I had spoken in front of a crowd since I was 11, so naturally, I was extremely nervous. Here, I’d like to share some tips for devs giving a talk for the first time, from someone who just went through it:</h3><ol><li>Look people in the eye! If this is too nerve-racking, try looking towards the back of the audience. You won’t have to make direct eye contact, but it’ll look like you are. Engage with the audience!</li><li>Move your hands. No one came here to see you standing there with your hands in your pockets. I made this mistake early in the talk, but my training and practice kicked in, and I remembered to articulate with my hands. Express yourself!</li><li>Speaking of practice: practice really does make perfect! It’s true: when you start, you’re going to forget what you were going to say, stammer, and sprinkle in lots of “um”s and “ah”s. Practice will hone your talk into a well-oiled machine, something you’ll need when you actually get up there and start talking. Practice until it becomes second nature!</li><li>Laugh at yourself. During my talk, I meant to say, “My name is Austin Pocus (like ‘hocus pocus’)…” but I forgot. I’m not saying you have to go for laughs — in fact, you shouldn’t try for laughs unless you’re absolutely sure someone besides your friends and family will laugh at it. My point is: don’t take yourself too seriously!</li><li>If you’re like me, and crowds make you anxious: the crowd is not against you. They’re at the event to hear interesting stories, and you’re an interesting person — you’re a software developer, which isn’t as common as the echo chamber of Silicon Valley makes it seem. You have interesting things to say, and the people in the audience just want to be entertained with tales of your exploits. Give them something to talk about!</li><li>Even if you bomb, it’s not the end of the world. You’ll wake up tomorrow and it’ll be a new day. Don’t sweat it!</li></ol><p>I’m still highly critical of the talk I gave, and I’m already thinking of things I can do better. The list above is as much for me as it is for you, the reader. At the end of the day, try to have fun with it! The more natural your demeanor and speaking style, the more you’ll draw the audience in.</p><p>In case I didn’t drive it home: <strong>practice</strong>! When I stepped onstage, I was so nervous I was almost shaking, trying to keep it from my voice. But at a certain point, my hours of practice kicked in, and I just gave my spiel. It comes naturally when you’ve said it in front of the bathroom mirror a couple dozen times. Try it, and tell me it doesn’t work.</p><p>Before I gave this talk, I thought “I’ll never do this again.” Now, I’m already planning my next talk, judging my first talk, figuring out what I can do better. Everyone has to start somewhere, and your audience understands that. Throw in a self-deprecating joke about this being your first talk, if you like. In the end, much like writing code, the only way you’ll get better is by doing it.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/964/1*ASiyYiHOyWIQq9sCWaY-ng.png" /><figcaption><a href="https://www.youtube.com/watch?v=UQgJXCBpRFw">https://www.youtube.com/watch?v=UQgJXCBpRFw</a></figcaption></figure><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=b5cc1c6edaa5" width="1" height="1" alt=""><hr><p><a href="https://medium.com/hackernoon/lightning-talks-at-github-hq-how-a-cdn-saved-our-hosting-bill-b5cc1c6edaa5">Lightning Talks at Github HQ: How a CDN Saved Our Hosting Bill</a> was originally published in <a href="https://medium.com/hackernoon">HackerNoon.com</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Cryptocurrency: What is and What Could Have Been]]></title>
            <link>https://medium.com/hackernoon/cryptocurrency-what-is-and-what-could-have-been-8d77b5df2cd3?source=rss-5ba20fe459a6------2</link>
            <guid isPermaLink="false">https://medium.com/p/8d77b5df2cd3</guid>
            <category><![CDATA[bitcoin]]></category>
            <category><![CDATA[cryptocurrency]]></category>
            <category><![CDATA[crypto-could-have-been]]></category>
            <category><![CDATA[what-is-cryptocurrency]]></category>
            <category><![CDATA[anonymity]]></category>
            <dc:creator><![CDATA[Austin Pocus]]></dc:creator>
            <pubDate>Fri, 01 Mar 2019 22:34:01 GMT</pubDate>
            <atom:updated>2023-07-14T04:28:07.714Z</atom:updated>
            <content:encoded><![CDATA[<p><a href="https://hackernoon.com/cryptocurrency-what-is-and-what-could-have-been-8d77b5df2cd3">Cryptocurrency: What is and What Could Have Been</a></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*7xIkKQADr3BxH1_616U9_w.jpeg" /><figcaption>Photo by <a href="https://unsplash.com/photos/k1bO_VTiZSs?utm_source=unsplash&amp;utm_medium=referral&amp;utm_content=creditCopyText">Sandro Katalina</a> on <a href="https://unsplash.com/search/photos/80s-anonymity?utm_source=unsplash&amp;utm_medium=referral&amp;utm_content=creditCopyText">Unsplash</a></figcaption></figure><h3>Despite what the popular media may report, cryptocurrency didn’t start with Bitcoin. On the contrary, the concept of anonymous digital cash goes back to the 80s! Not only is anonymous digital cash an ancient idea in tech years, but its original conception was far different from what we accept today as cryptocurrency.</h3><p>A quick note: I’ll refer to anonymous digital cash as “bitcash” from here on, to avoid repetition.</p><p>Now, let’s dive in!</p><p><a href="http://www.hit.bme.hu/~buttyan/courses/BMEVIHIM219/2009/Chaum.BlindSigForPayment.1982.PDF">Devised in 1982</a> by that great wizardly guru of cryptography, David Chaum, bitcash was a groundbreaking achievement. In the same paper that discussed the potential of an anonymous digital future, Chaum devised “blind signatures”, the basis of the entire system. A blind signature is when someone signs some piece of content, ensuring the recipient that only that person could have signed it, without the signer knowing what the content is. It’s almost like signing a contract without reading it — you wouldn’t want to do this in real life, of course, but it has interesting applications when it becomes a digital process.</p><p><a href="http://a.co/d/4LyidPb">As described in Applied Cryptography</a>, with blind signatures, a bank can “sign” a “money order” (all digital, of course), without knowing that Alice is the one requesting funds. Used in combination with <a href="https://www.freehaven.net/anonbib/cache/chaum-mix.pdf">anonymity-preserving tech like “mix networks”</a> or the <a href="https://www.chaum.com/publications/Security_Wthout_Identification.html">“dining cryptographers protocol”</a>, Alice can send this digital “money order” to Bob under a pseudonym, or completely anonymously.</p><p>This is the first difference between bitcash and modern cryptocurrency: while banks are beginning to dabble in cryptocurrency, cryptocurrency is inherently decentralized. Bitcash, on the other hand, relied on existing financial institutions.</p><p>Although decentralization is generally a good thing, federation by the banks has a few benefits, bringing us to the second difference between bitcash and cryptocurrency: bitcash is truly, provably anonymous. With cryptocurrency, transactions are usually, <em>ostensibly</em> anonymous. However, every transaction is tied to an identity of some kind. With bitcash, anonymity is built-in.</p><p>That brings me to another benefit of bitcash: guaranteed untraceability. Cryptocurrency relies on the blockchain, an immutable ledger of every transaction that ever happened — bitcash has no such need, and it’s still able to prevent double-spending and fraud!</p><p>Chaum’s work inspired a revolution in the way technologists thought about cryptography. Among those inspired were the <a href="https://www.activism.net/cypherpunk/manifesto.html">“cypherpunks”</a>, formed in 1992 primarily by Eric Hughes and Timothy C. May (the name was coined by the great <a href="https://en.wikipedia.org/wiki/Jude_Milhon">Jude Milhon</a>, about whom I could write an entire article). They envisioned a world where privacy, anonymity, and free speech were mathematically guaranteed, built-in to every internet service.</p><p>It started with mix networks, email chains that pass along messages like notes in a classroom. Unlike those notes, however, messages on mix networks are encrypted with public keys in onion-like layers, so no one in between can read them.</p><p>Likewise, only the first mailer in the chain knows who the sender is, and only the last mailer in the chain knows the recipient. The former can be remedied with another protocol, another procedure called “the dining cryptographers”. The latter is like a courier delivery: they know the recipient, but not what their message says or even who sent it.</p><p>Dining cryptographer networks, or “DC nets”, are networks of 3 or more people who want to publish something anonymously. The protocol is traditionally described as a group of diners who wants to know whether the NSA paid, without revealing the identity of anyone who paid at the table. Every pair of cryptographers flips a coin apiece. Then, each person announces the XOR of each partner’s coin, inverting the result if they paid. If the XOR of each announced result is 0, none of the cryptographers paid, i.e. no data was transmitted). If the result is 1, one of the cryptographers paid, i.e. transmitted a bit.</p><p>Put together, these protocols are incredibly powerful. You can publish under a pseudonym, with guaranteed anonymity. You can pay a person without them knowing who you are, and vice versa. But it gets better…</p><p>If entire networks exist like this, where people can send data anonymously, why not receive data anonymously? Why not create a network where you can share content, and it is propagated throughout the network, such that you can request content like a web page, or a resume, or a song, and do it anonymously, privately.</p><p>For better or worse, the dream of the “cypherpunks”, or god forbid, the subset of cypherpunks known as the “<a href="https://en.wikipedia.org/wiki/Crypto-anarchism">crypto anarchists</a>”, never came to fruition. There are several reasons for this, but it can be summed up here: no regular folks cared enough about anonymity and privacy online to jump through the myriad hoops required to use crypto software, and in the post-9/11 world, there were real and serious concerns about such systems that came to the forefront.</p><p>If this article had a point, if there were a moral to the story, it would be this: existing cryptocurrencies are not the end-all, be-all of digital currency, and if you look at the history of cryptography, it never has been. I’m not going to dive into the debate of true anonymity and privacy and its ramifications in this article, although I’d be happy to do so in the comments section. Let’s all just keep in mind: cryptocurrency as we know it is just another point in a much larger timeline, a chapter in a much larger story that’s still playing out. I’m excited to see where it goes.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=8d77b5df2cd3" width="1" height="1" alt=""><hr><p><a href="https://medium.com/hackernoon/cryptocurrency-what-is-and-what-could-have-been-8d77b5df2cd3">Cryptocurrency: What is and What Could Have Been</a> was originally published in <a href="https://medium.com/hackernoon">HackerNoon.com</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Protips: Git Your Ass to Mars]]></title>
            <link>https://medium.com/hackernoon/protips-git-your-ass-to-mars-72568adee037?source=rss-5ba20fe459a6------2</link>
            <guid isPermaLink="false">https://medium.com/p/72568adee037</guid>
            <category><![CDATA[hackernoon-development]]></category>
            <category><![CDATA[git-your-ass]]></category>
            <category><![CDATA[git]]></category>
            <category><![CDATA[hackernoon-pro-tips]]></category>
            <category><![CDATA[software-development]]></category>
            <dc:creator><![CDATA[Austin Pocus]]></dc:creator>
            <pubDate>Wed, 30 Jan 2019 22:22:17 GMT</pubDate>
            <atom:updated>2019-01-30T22:46:07.312Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*zvrrwngLwilGm7KCcsRMhQ.jpeg" /><figcaption><a href="https://www.nasa.gov/sites/default/files/thumbnails/image/esp_050703_2560.jpg">Photo courtesy of NASA</a></figcaption></figure><p>I’ve collected a treasure trove of git tricks over the years, the vast majority coming from raw necessity (and a few that were just technically neat). As I’ve started work at Hacker Noon as a Full Stack Developer, I’ve shared quite a few of these tips with the team, and I’d like to share some of them with you.</p><h4><strong>Problem: I’m afraid I’m going to screw things up!</strong></h4><p>This isn’t really a git problem, but I’ll answer it anyway, because git has a power tool for <em>not</em> screwing things up: branches. Branches are dirt cheap. Create as many as you need. If you think you’re going to screw up, branch off of your current branch, branching strategies be damned. Branching strategies are for the shared repo (Github, etc.), not your local repo — just don’t push the branches, and you’re golden. I’ll write more about branching strategies, including the flow we use here at Hacker Noon, in a future post.</p><h4><strong>Problem: I committed to the wrong branch!</strong></h4><p>The solution to this issue very much depends on whether you’ve pushed. If you have pushed, you might be screwed — skip the next paragraph to see why.</p><p>Let’s start with the simple case. If you haven’t pushed, no problem: <a href="https://git-scm.com/docs/git-cherry-pick">this guide will walk you through the cherry-picking process</a>. In a nutshell: just switch to the branch you want to commit to, and <strong>git cherry-pick $COMMIT_HASH</strong>. If you haven’t pushed, there’s a simple command you can run to delete the accidental commit. <strong>However, this command can break things. Only run it if you’re absolutely sure you can safely delete the last commit.</strong> To do this, run <strong>git reset — hard HEAD~1</strong> on the branch you accidentally committed to.</p><p>So, how can you be absolutely sure you can safely delete your accidental commit? If you have pushed, like I said, you might be screwed. If anyone else is working on that branch, there’s nothing you can do. You can’t just rewrite history on them, after all.</p><p>That said, if you’re really sure that it won’t mess up anyone else’s work (e.g. you’re the only one working on a branch), you can run the reset above then use another dangerous command, a “force push”, to get rid of the commit. <strong>Beware! If you force-push a branch that others are working on, you’ll have different revisions on different machines, and work can be lost. This is not a good scenario.</strong></p><p>If you’re sure, you can <strong>git push -f origin $BRANCH</strong> to force-push your branch.</p><h4><strong>Problem: I have a branch name with a task number or something weird, and I’m sick of typing it.</strong></h4><p>The solution here is twofold: you’ll want to install tab completion for git, and there’s a neat trick for referring to the branch when pushing. For the first part, you’ll want something like <a href="https://github.com/robbyrussell/oh-my-zsh">oh my zsh</a> for tab completion. As for the second part, there’s a simple shortcut I like to use. Simply <strong>git push -u origin HEAD</strong> and you’re good to go!</p><p>From then on, you can just <strong>git push</strong> and everything will “just work”. Please note, that <strong>-u</strong> switch sets the origin remote as the upstream source for that branch. Essentially, that just means that origin will be the default remote source for <strong>git pull</strong> and <strong>git push</strong>.</p><p>A related tip: you can use <strong>git checkout — </strong>to check out the last branch you were on. This is great if you need to check out a branch that a teammate’s working on, and want to switch back and forth between branches.</p><h4><strong>Problem: I found an answer to my problem on Stack Overflow, but I don’t understand this funky git command.</strong></h4><p>I hate to tell you this, but: it’s time to learn git internals. But fear not! Git isn’t that hard to learn — at its core, it’s actually a simple set of commands on top of a relatively simple data structure. It’s just a power tool — you can use it in crazy ways, because the authors decided to give you that ability. It was designed for a lot of different use cases, so specific use cases like cherry-picking from an accidentally-committed branch are not front-and-center.</p><p>I can’t explain it nearly as well as <a href="https://github.com/pluralsight/git-internals-pdf">Scott Chacon did in his book, <em>Git Internals</em>, which is generously available for free online</a>. Please, read that book, and I guarantee you’ll walk away with a better understanding of git.</p><h4><strong>Problem: I’m sick of typing these long, crazy git commands to fix things.</strong></h4><p>This has a quick and useful solution: git aliases. You can configure an alias with something like <strong>git config — global alias.ci commit</strong>, then you can write <strong>git ci</strong> to run <strong>git commit</strong>.</p><p>I don’t know everything about git, by any stretch, but hopefully this helped. Do you have any git protips to share?</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=72568adee037" width="1" height="1" alt=""><hr><p><a href="https://medium.com/hackernoon/protips-git-your-ass-to-mars-72568adee037">Protips: Git Your Ass to Mars</a> was originally published in <a href="https://medium.com/hackernoon">HackerNoon.com</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
    </channel>
</rss>