<?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 www.node.tech — Tech Blog on Medium]]></title>
        <description><![CDATA[Stories by www.node.tech — Tech Blog on Medium]]></description>
        <link>https://medium.com/@fin.tech?source=rss-233bf23ab72b------2</link>
        <image>
            <url>https://cdn-images-1.medium.com/fit/c/150/150/1*MMVomYa0Z7uqUnUlIWWP5g.png</url>
            <title>Stories by www.node.tech — Tech Blog on Medium</title>
            <link>https://medium.com/@fin.tech?source=rss-233bf23ab72b------2</link>
        </image>
        <generator>Medium</generator>
        <lastBuildDate>Sat, 05 Dec 2026 00:56:14 GMT</lastBuildDate>
        <atom:link href="https://medium.com/@fin.tech/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[Deep queries in JSON and why Schema is so important]]></title>
            <link>https://medium.com/@fin.tech/deep-queries-in-json-and-why-schema-is-so-important-48b8f4daf65a?source=rss-233bf23ab72b------2</link>
            <guid isPermaLink="false">https://medium.com/p/48b8f4daf65a</guid>
            <category><![CDATA[json]]></category>
            <category><![CDATA[firebase]]></category>
            <category><![CDATA[schema]]></category>
            <dc:creator><![CDATA[www.node.tech — Tech Blog]]></dc:creator>
            <pubDate>Sat, 10 Mar 2018 18:02:52 GMT</pubDate>
            <atom:updated>2018-03-12T02:28:58.492Z</atom:updated>
            <content:encoded><![CDATA[<h3>The importance of schema when planning a JSON backend</h3><p>A common complaint about JSON Databases is that “deep queries” are difficult, high runtime, or cpu taxing. This article gives a brief background on JSON, followed by a few use cases regarding how the implementation of best-practices, renders that argument moot in most cases.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*xddmySFSc0NmfMUNQsKsTQ.jpeg" /><figcaption>JSON is a concise, language-independent format for transmitting data between web servers and browsers. It’s the data transportation format of choice for modern AJAX-powered interactive web apps and web service APIs. Thankfully, JSON is also easy to get started with and will almost certainly work just fine within your favorite web development environment</figcaption></figure><h3>What is JSON?</h3><p>JSON is simply a flexible format for storing data, and references to other data, using strings (text).</p><p>It is extremely flexible, but with great power comes great responsibility. Understanding JSON schema, and planning your data are critical steps that are often skipped.</p><p><a href="https://www.whoishostingthis.com/resources/json-resource/#history">JSON Introduction and Resources</a></p><h3>Consequences of diving right in with JSON</h3><h4>The Importance of Schema</h4><p>A lot of times software developers come “out of pocket” with “ideas” about how to structure the data. The reality is this is a pretty solved problem, picking a schema depends on how much and what kind of data you intend to express.</p><h4>Skipping schema planning causes high runtime queries</h4><p>The complaint that “it’s hard, and high-runtime to traverse large JSON objects with nested objects” is a real, and valid complaint. More often than not this complaint arises when startups pick JSON for it’s flexibility but skip the schema picking step.</p><h4>Skipping schema planning ensures development hours will be exponential rather than consistent</h4><p>Stakeholders and “the suits” typically want to dive right in with JSON and let developers pick. This critical step is a costly one that is often skipped during road-mapping, and leads product managers to make inefficient decisions down the road.</p><h3>How to plan an app with a JSON backend</h3><p>Planning an app with a JSON backend requires a lot of forethought, and requires some research on your end to understand why the business, product, and development teams should all have a say in the development process</p><h4>Learn NoSql structures, and practice with a whiteboard</h4><p>Learn about NoSql concepts, such as nodes and edges, smaller is better, HAL &amp; embedded linking. If you want to really dive in, read this doc that goes into excellent detail regarding JSON structuring, current state, and best practices</p><p><a href="https://spacetelescope.github.io/understanding-json-schema/structuring.html">Structuring a complex schema - Understanding JSON Schema 1.0 documentation</a></p><h4>“Whiteboard” all the “Things” your application needs</h4><p>Try to forget the notion of joins, and start thinking of embedded links, and maps. Each “thing” is comparable to a table.</p><p><a href="https://schema.org/Thing">Thing - schema.org</a></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1000/1*XT2FRr85IAHWgehDqwSvUg.jpeg" /><figcaption>White boarding your ”things” and their “relationships” creates a map of nodes and edges that your team can use to eliminate redundancies and overlaps or optimize your schema before you create the database. This will minimize runtime and load, and maximize query speed</figcaption></figure><h4>Keep your data structure DRY, small, and concise</h4><p>DRY simply means “Do Not Repeat Yourself” while planning. A house is a house, a person is a person, if a person has a house, the house doesn’t live inside the person, it is it’s own thing, and the person, and the house interact. The same is true with a database. Do not put a house inside a person, or a person inside a house. Link them instead. Thinks of loops and filters instead of joins and unions and exclusion</p><p><strong>Bad</strong></p><p>— will crash your firebase, or cassandra instance</p><pre>{  <br>   <strong>&quot;people&quot;</strong>:[  <br>      {  <br>         <strong>&quot;name&quot;</strong>:&quot;Dave&quot;,<br>         <strong>&quot;id&quot;</strong>:&quot;adfsaidfj9dasfk8&quot;,<br>         <strong>&quot;owns&quot;</strong>:[  <br>            {  <br>               <strong>&quot;id&quot;</strong>:&quot;adsfkljsadfkd&quot;,<br>               <strong>&quot;type&quot;</strong>:&quot;house&quot;,<br>               <strong>&quot;bedrooms&quot;</strong>:3,<br>               <strong>&quot;bathrooms&quot;</strong>:2,<br>               <strong>&quot;sqFt&quot;</strong>:1200<br>            },<br>            {  <br>               <strong>&quot;id&quot;</strong>:&quot;adsfkljsadfkd&quot;,<br>               <strong>&quot;type&quot;</strong>:&quot;car&quot;,<br>               <strong>&quot;type&quot;</strong>:&quot;coupe&quot;,<br>               <strong>&quot;brand&quot;</strong>:&quot;AMC&quot;,<br>               <strong>&quot;model&quot;</strong>:&quot;Gremlin&quot;<br>            }<br>         ]<br>      }<br>   ]<br>}</pre><p><strong>Good</strong></p><p>— Is easily extensible and low runtime</p><pre>{  <br>   <strong>&quot;people&quot;</strong>:{  <br>      <strong>&quot;adfsaidfj9dasfk8&quot;</strong>:{  <br>         <strong>&quot;name&quot;</strong>:&quot;Dave&quot;,<br>         <strong>&quot;owns&quot;</strong>:[  <br>            &quot;<strong>adsfkljsadfkd</strong>&quot;,<br>            &quot;<strong>basdfadc98werkjac</strong>&quot;<br>         ]<br>      }<br>   },<br>   <strong>&quot;cars&quot;</strong>:{  <br>      <strong>&quot;adsfkljsadfkd&quot;</strong>:{  <br>         <strong>&quot;type&quot;</strong>:&quot;car&quot;,<br>         <strong>&quot;type&quot;</strong>:&quot;coupe&quot;,<br>         <strong>&quot;brand&quot;</strong>:&quot;AMC&quot;,<br>         <strong>&quot;model&quot;</strong>:&quot;Gremlin&quot;<br>      }<br>   },<br>   <strong>&quot;houses&quot;</strong>:{  <br>      <strong>&quot;basdfadc98werkjac&quot;</strong>:{  <br>         <strong>&quot;type&quot;</strong>:&quot;house&quot;,<br>         <strong>&quot;bedrooms&quot;</strong>:3,<br>         <strong>&quot;bathrooms&quot;</strong>:2,<br>         <strong>&quot;sqFt&quot;</strong>:1200<br>      }<br>   }<br>}</pre><p>A table is linked to other tables by Id’s. “Query’s” are performed by creating new endpoints, with the query defined, and the data returned by maps, which caches and delivers the query’s result or returns it on demand when the endpoint is hit.</p><h4>“Whiteboard” all high-level relationships</h4><p>Diagram use cases and personas between the “things” in the database and the people or workflows interfacing with the app</p><h4>Pick a structure to use that reflects your needs</h4><p>I’m guilty of moving outside of a perfect spec, and instead prefer my own flavor of <a href="http://stateless.co/hal_specification.html">HAL</a> using <a href="http://schema.org/">Schema.org</a> and internet of things definitions, however <a href="http://json-schema.org/">JSON Schema</a> and <a href="http://www.odata.org/">OData</a> are great as well. I prefer HAL, and a decent example (ironically) of a widely used HAL implementation is <a href="https://v2.wp-api.org/">Wordpress REST API V2</a></p><ul><li><a href="http://stateless.co/hal_specification.html">The Hypertext Application Language</a></li><li><a href="http://www.odata.org/">OData - the Best Way to REST</a></li><li><a href="http://json-schema.org/">JSON Schema</a></li></ul><h3>Realtime JSON “Database” vendors and platforms for “Rapid Prototyping”</h3><p>I sorted my favorites in order, while this is an incomplete list, this list is my personal, anecdotal recomendation of vendors I find to be the easiest to get up and running with, that are fast and secure. Of course you can always migrate your application later.</p><h4>Arrango DB</h4><p><a href="https://www.arangodb.com/">ArangoDB - Home</a></p><p>Pros : It’s extremely powerful</p><p>Cons : bit of a learning curve, small community, has to be installed</p><h4>Google Firebase</h4><p><a href="https://firebase.google.com/">Firebase | Google&#39;s Mobile and Web App Development Platform</a></p><p>Pros : Extremely fast to deploy, very secure, scaled pricing, easy to export all data to migrate whole, or parts to persistent data store</p><p>Cons : Performance depends on schema planning, must be planned top-to-bottom</p><h4>Neo4j</h4><p><a href="https://neo4j.com/">Neo4j Graph Database &amp; Analytics - The Leader in Graph Databases</a></p><p>Pros : Great for finding deep links between edges and nodes, autocomplete, recommendation engines due to suite of built-in querys</p><p>Cons : Very expensive if not working in enterprise and have access, open source edition doesn’t support much,</p><p><strong>JanusGraph</strong></p><p><a href="http://janusgraph.org/">JanusGraph: Distributed graph database</a></p><p>Pros : Very powerful distrubed graph db</p><p>Cons: Expensive</p><h4>Mongo DB</h4><p>Pros : Huge community, lots of support, easiest to migrate to because of deep query support</p><p>Cons : Tedious to setup and configure, overkill during rapid prototyping, lots of conflicting “best practices”</p><p><a href="https://www.mongodb.com/cloud/atlas/lp/general">MongoDB Atlas - Hosted MongoDB as a Service</a></p><p>Picking a datastore, knowledge warehouse database, or combination of the three is always a case by case decision making process. Choosing a vendor that best-supports the schema you decide on is critical, but if you don’t spend a good chunk of time picking a schema, you’re in for a bad time no matter the database you choose!</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=48b8f4daf65a" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Dummkopf Errors]]></title>
            <link>https://medium.com/@fin.tech/dummkopf-errors-f5e2b5209fe7?source=rss-233bf23ab72b------2</link>
            <guid isPermaLink="false">https://medium.com/p/f5e2b5209fe7</guid>
            <category><![CDATA[programming]]></category>
            <dc:creator><![CDATA[www.node.tech — Tech Blog]]></dc:creator>
            <pubDate>Sat, 13 Jan 2018 18:52:19 GMT</pubDate>
            <atom:updated>2018-01-13T18:52:19.880Z</atom:updated>
            <content:encoded><![CDATA[<p>We call errors that arise by not following our standards and best-practices documents <a href="https://www.google.com/search?rlz=1C5CHFA_enUS748US748&amp;q=dummkopf&amp;spell=1&amp;sa=X&amp;ved=0ahUKEwj4zsLmy9XYAhUtYt8KHX0rBnkQkeECCCQoAA"><strong><em>dummkopf</em></strong></a><strong><em> errors.</em></strong></p><p>Definition of Dummkopf — according to Meriam Webster a dummkopf is related to a blockhead, and is regarded to as “a stupid person.” As we don’t consider anyone to be “stupid” we do realise competent people do some stupid things at times. Anytime this happens, we call this a dummkopf error.</p><blockquote><em>md-columnt is a dummkopf error</em></blockquote><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*o8R1FKRvdzZohN74Hkkn-g.png" /><figcaption>“md-columnt” was absolutely a dummkopf error</figcaption></figure><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=f5e2b5209fe7" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Crypto exchange on-boarding collusion and it’s effect on the general cryptocurrency markets 2018]]></title>
            <link>https://medium.com/@fin.tech/does-crypto-exchange-account-verification-lag-give-an-unfair-advantage-to-institutional-investors-d197f9589518?source=rss-233bf23ab72b------2</link>
            <guid isPermaLink="false">https://medium.com/p/d197f9589518</guid>
            <category><![CDATA[crypto-crash-2018]]></category>
            <category><![CDATA[cryptocurrency]]></category>
            <category><![CDATA[bitcoin-crash]]></category>
            <category><![CDATA[ripple-coin]]></category>
            <category><![CDATA[crypto-crash]]></category>
            <dc:creator><![CDATA[www.node.tech — Tech Blog]]></dc:creator>
            <pubDate>Mon, 08 Jan 2018 01:27:01 GMT</pubDate>
            <atom:updated>2018-05-24T17:43:26.178Z</atom:updated>
            <content:encoded><![CDATA[<p>The purpose of this article is to determine the effect of slow, two-week and longer on-boarding processes and their affect on cryptocurrency exchange rates</p><p>After not being able to <em>verify my account</em> in order to buy Ripple Coin, <em>on any exchange, </em>I decided to look into why a long on-boarding process could benefit an exchange. With comparable fintech platforms like Scottrade, the <em>verification process takes a matter of minutes. </em>With the main Ripple exchanges, this process takes <em>weeks</em>. If they’re backlogged, they have the money to hire a verification service, like iPostal.com did. If they’re pre-determining demand, and only trickling in users at a predictable rate, this could be potentially dangerous for crypto-currencies as a whole.</p><blockquote>Slowing an individuals access to markets gives a major disadvantage to individuals, and is considered unethical². This old school practice provides a boost to pools or institutional investors. These groups often lobby each exchange to slow their on-boarding rates.</blockquote><blockquote>The problem is a lot of individuals in Crypto Markets may be unaware of more traditional market manipulation techniques, and leads these Markets to be exploited during a time when Crypto is most vulnerable</blockquote><h3>Test 1: Is the slow on-boarding time systemic across multiple channels?</h3><p>For at least the top three exchanges, there is no way to jump in and start trading immediately. With Scottrade online I was able to verify and get trading within a day.</p><blockquote>The main question to answer here is “how many people want to buy coins, but can’t because they’re stuck in verification backlog?”</blockquote><h3><strong>Site One — 2 week+ pending</strong></h3><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*QnsOIJ56LTEfhCs6xrx9Ig.png" /><figcaption>1. Even large sites like healthcare.gov can validate users in under 48 hours, the bitcoin exchanges seemed to take a bit longer than expected and this came off as odd</figcaption></figure><p>I’ve always been a fan of blockchain, especially blockchain over mesh applications, but I’ve been skeptical of crypto-currency.</p><p>After working on a few crypto-currency projects for clients (as a subcontractor) I started thinking of running some regression on a few coins, particularly Etherium and Ripple Coin.</p><p>I found an exchange that allowed me to trade each of those coins. After doing their lengthy on-boarding questionaire, uploading multiple documents and IDs, I finally finished. Lo and behold I got the above fantastic greeting¹.</p><h3><strong>Site two — verification feature disabled entirely</strong></h3><p>Yet another major crypto exchange giving me no time-to-live for my account to be verified so I can begin trading</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*TOn6AdmtYpvBvb3oPzKg0A.png" /><figcaption>Looks like I have to check back in or file a support case in order to get my account verified</figcaption></figure><p>Just to re-iterate, this is just the user verification process hanging up my ability to purchase coins. In e-commerce, finance, etc, this is a very fast, solved problem. I find it hard to believe it takes weeks to validate users.</p><h3><strong>Site 3 — pending indefinitely</strong></h3><figure><img alt="" src="https://cdn-images-1.medium.com/max/568/1*A2rR97IuZ1EldIAlBkZvxw.png" /><figcaption>Doesn’t give me estimate, will update this article when they authorize my account</figcaption></figure><p>A third major exchange is still holding my new account in pending status despite uploading all of my id documents. A value analyst would infer that the number way to get more users pushing cash through the portal would certainly be to do speedy onboarding.</p><p>Another hypothesis could be made that there are other reasons to not speedily onboard new traders. With Scottrade this process takes less than a day. On Healthcare.gov this process was 48 hours.</p><blockquote>To get validated with iPostal.com (a service with lower market capitalization than any of the above sites) the process of on-boarding, including virtual notary, took less that 12 hours.</blockquote><p>It’s one thing to note that on-boarding rates send signals to institutional investors on what to expect. This has happened numerous times in the traditional stock market, perhaps a fix would be asking exchanges to release weekly backlog numbers?</p><h3>Test 2: Does the slowing down of new customers affect crypto-currency exchange rates?</h3><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*bXgTdgN77L7lB_gvI4ENnw.png" /><figcaption>The 4th saw a steep drop in rate, and an increase in activity.</figcaption></figure><p>It appears that whenever there is a lull in crypto rates, it would follow the logic that simply allowing new buyers into the market would rase the rates. Too fast would spook whales, too slow would scare buyers, so allowing new traders in at a predictable rate would turn hockey-sticks into smoother longer term growth.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*JQh3DdCiLCyOlDOqUCui3w.png" /></figure><p>December 29th</p><p><a href="https://www.cnbc.com/2017/12/29/ripple-soars-becomes-second-biggest-cryptocurrency-by-market-cap.html">There&#39;s a new star in the digital currency world, and its market cap has already topped ethereum&#39;s</a></p><p>January 2nd</p><p><a href="https://www.cnbc.com/2018/01/02/how-to-buy-ripple.html">How to buy XRP, one of the hottest bitcoin competitors</a></p><p>January 5th</p><p><a href="https://www.cnbc.com/2018/01/05/cryptocurrency-ripple-briefly-drops-more-than-11-percent.html">Cryptocurrency ripple briefly drops more than 11 percent</a></p><h3>Test 3: Can a correlation be found between PR campaigns on crypto-currency exchange rates?</h3><p>I noticed on every exchange plugged² by CNBC articles that each account left users in pending. I decided to run ripple coin during the CNBC article through the <a href="https://alpha.node.tech/products/news">https://alpha.node.tech/products/news</a> to find the sources behind the articles and if we could find any correlation between PR runs and ripple coin exchange rates</p><p>Update 1 Feb 13, 2018</p><p>The first of 5 test exchanges just verified our first test account</p><p>Update 2 May 24, 2018</p><p>Still only one approval however an investigation has been open</p><p><a href="https://www.coindesk.com/us-department-of-justice-cftc-probe-crypto-market-manipulation-report/">US Department of Justice, CFTC Probe Crypto Market Manipulation: Report - CoinDesk</a></p><h3><em>Stay tuned for updates to this article, we’re building some data models and interviewing some folks and will have an update here soon</em></h3><h3>Citations:</h3><ol><li>image</li><li>Frederick, Robert E., and W. Michael Hoffman. “The Individual Investor in Securities Markets: An Ethical Analysis.” <em>Journal of Business Ethics</em>, vol. 9, no. 7, 1990, pp. 579–589. <em>JSTOR</em>, JSTOR, <a href="http://www.jstor.org/stable/25072072.">www.jstor.org/stable/25072072.</a></li><li><a href="https://www.google.com/search?tbo=p&amp;tbm=bks&amp;q=inauthor:%22Alexandra+Steinberg%22&amp;source=gbs_metadata_r&amp;cad=7">Alexandra Steinberg</a>, <br>“More and more plugged” Social Representations of the New Economy: An Investigation into the Common Sense of Business Professionals, diplom.de, 2002 3832457313 <a href="https://books.google.com/books?id=7WVhAQAAQBAJ&amp;lpg=PP1&amp;pg=PP1#v=onepage&amp;q&amp;f=false">https://books.google.com/books?id=7WVhAQAAQBAJ&amp;lpg=PP1&amp;pg=PP1#v=onepage&amp;q&amp;f=false</a></li></ol><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=d197f9589518" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[How to upgrade from vue-material 1 to vue-material 2]]></title>
            <link>https://medium.com/@fin.tech/how-to-upgrade-from-vue-material-1-to-vue-material-2-9ca6b5950e36?source=rss-233bf23ab72b------2</link>
            <guid isPermaLink="false">https://medium.com/p/9ca6b5950e36</guid>
            <category><![CDATA[vue-router]]></category>
            <category><![CDATA[vue]]></category>
            <category><![CDATA[vuejs]]></category>
            <category><![CDATA[javascript]]></category>
            <dc:creator><![CDATA[www.node.tech — Tech Blog]]></dc:creator>
            <pubDate>Wed, 13 Dec 2017 19:13:22 GMT</pubDate>
            <atom:updated>2017-12-13T19:13:22.396Z</atom:updated>
            <content:encoded><![CDATA[<p>Md-Layout has changed substantially and replaced to md-content, where the parent elements are div tags and child elements are now md-content. This seems to be a change for the better.</p><p>First off lets remove our old npm bundle and upgrade to the beta version</p><p>rm -rf node_modules<br>npm i<br>npm start</p><p>npm uninstall vue-material</p><p>npm install vue-material@beta — save</p><p>thats is!</p><p>— almost…</p><p>Notes:</p><p>md-layout has been completely removed</p><p>Registering palettes has changed</p><p>new directives</p><p>div tag instead of directive now preferred as parent component in templates</p><p>toolbar stays mostly the same</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=9ca6b5950e36" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Wookie Injections (HTTP Injections)]]></title>
            <link>https://medium.com/@fin.tech/wookie-injections-http-injections-ce74403c32a6?source=rss-233bf23ab72b------2</link>
            <guid isPermaLink="false">https://medium.com/p/ce74403c32a6</guid>
            <category><![CDATA[nodejs]]></category>
            <dc:creator><![CDATA[www.node.tech — Tech Blog]]></dc:creator>
            <pubDate>Wed, 14 Jun 2017 18:02:35 GMT</pubDate>
            <atom:updated>2017-06-14T18:02:35.660Z</atom:updated>
            <content:encoded><![CDATA[<p>Credit to Regilero, Security Hub, and DefCon for putting this exploit out there (thanks)</p><p>I can’t believe at the time of writing this video only has 7 views. Leave it defcon to find some really interesting NodeJS exploits. I’m not a hacker, but as I use node js in my application development toolbox, I like to at least keep my boxes as secure as possible.</p><iframe src="https://cdn.embedly.com/widgets/media.html?src=https%3A%2F%2Fwww.youtube.com%2Fembed%2Fk-RHZHwXLMk%3Ffeature%3Doembed&amp;url=http%3A%2F%2Fwww.youtube.com%2Fwatch%3Fv%3Dk-RHZHwXLMk&amp;image=https%3A%2F%2Fi.ytimg.com%2Fvi%2Fk-RHZHwXLMk%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/31d0c608e1eaaea6dac48db3e4462b54/href">https://medium.com/media/31d0c608e1eaaea6dac48db3e4462b54/href</a></iframe><p><strong>Can be used to modify cookie values while inside middleware, can execute arbitrary javascript through pipelines spawned off unterminated requests, thrown by purposely placed split javascript functions or end of line chars</strong></p><p>HTTP V0.9 “is awful” and contains a ton of odd headers, and throws no errors. By spoofing this header, unterminated requests can be created (with a text stream, or putting an http response in the an EXIF image)</p><p>Cache Poisoning and rewriting web socket requests</p><p>Passing arbitrary javascript through GoLang to node, or through Node to GoLang, through unhandled exceptions</p><p>Quick fix — <br><strong>disabled Transfer-Encoding: chunked header in my router<br></strong>I simply disabled Transfer-Encoding: chunked header in my router, and also what was interesting is that since JS isn’t strongly typed, the header field can be infinite chars long in some cases, thus causing a de-facto keep-alive which allows users open up new new transfer pipelines or spoil a cache</p><p>Content [put a bunch of spaces] Length:</p><p>Double Content-Length Headers</p><p>Disable legacy HTTP Support (0.9)</p><p>Enforce timeout strategies</p><p>Disable get requests embedded in the body, especially in chunked transfers, and split requests which can embed EOF, and handle errors and unterminated responses at all levels, from the router, middleware, everywhere</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=ce74403c32a6" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[does adblock plus spy on you?]]></title>
            <link>https://medium.com/@fin.tech/does-adblock-plus-do-more-than-block-ads-a04fb0ee0388?source=rss-233bf23ab72b------2</link>
            <guid isPermaLink="false">https://medium.com/p/a04fb0ee0388</guid>
            <category><![CDATA[javascript]]></category>
            <category><![CDATA[ad-blocking]]></category>
            <category><![CDATA[chrome]]></category>
            <dc:creator><![CDATA[www.node.tech — Tech Blog]]></dc:creator>
            <pubDate>Sun, 15 May 2016 10:40:21 GMT</pubDate>
            <atom:updated>2018-03-10T19:34:32.656Z</atom:updated>
            <content:encoded><![CDATA[<h3>Does adblock plus do more than block ads?</h3><h4><strong>Introduction: Decided to build a chrome plugin for my girlfriend and found out any plugin can track your entire web browsing activity</strong></h4><h3>Node tech - Finance on Twitter</h3><p>Is AdblockPlus selling your browsing history? Read part 1 of my #adblocker #privacy series http://goo.gl/N5hZ8q</p><blockquote>My girlfriend has been selling a lot of stuff on the hit new shopping app called poshmark. She asked if I could “build a thing, that like pulls out hot purses and stuff that’s selling well?” and this led me down a rabbit hole.</blockquote><p>My girlfriend is an order of magnitude smarter than me, and I was instantly dumbfounded by how profitable of an endeavor building a poshmark chrome extension could become if done quickly.</p><p>I made some grilled cheeses from a recipe app I’m consulting on called “Cooking to Impress Chicks” and we ate them while we planned the dev sprints.</p><p>We quickly found a solution — we decided to build out a chrome plugin with a cute bunny rabbit icon called “oh my posh!” which simply collects, categorizes and counts all the product types marked as sold in the last week on a given page shes on. Then I noticed how much page level data I had access to with a chrome extension and began thinking of AdBlockPlus.</p><h4>How does adblock plus make money? — Selling ser data perhaps?</h4><p>— A valuable <a href="http://yearly data">male’s yearly data on Facebook is worth an average of $30.38</a> when sold to advertisers to deliver an ad</p><p>— A valuable <a href="http://adage.com/article/digital/worth-facebook-google/293042/">female’s yearly data on Facebook is worth about $37.98</a> per user data year when sold to advertisers to deliver an ad</p><p>I’d encountered BIG malware issues before, because user data = revenue, I’ve seen firsthand exploits where images embedded in chrome plugins load pixeltrackers or javascript from third party advertisers, to sell the data. This is called “Canvasing” and this got me wondering if AdBlockPlus does the same thing? If it does, it’s worth a LOT</p><blockquote><strong><em>According to some stackoverflow research titled “</em></strong><a href="http://security.stackexchange.com/questions/52361/is-adblock-plus-a-security-risk"><strong><em>is adblockplus a security risk</em></strong></a><strong><em>”, it appears that adblockplus can in fact report your entire browser sessions to whomever they chose.</em></strong></blockquote><p><strong>I decided to dig in and investigate using classic software QA techniques…</strong></p><h4>Hypotheisis : installing adblockplus as a chrome plugin will create persisitant callbacks and thus identify me across domains.</h4><p>Enough #humblebragging, this is where stuff gets weird. A 2 years ago I’d worked for a giant retail company who’s site was in the works of being updated. We had a really weird “hack” occur. Our site comments, etc were protected, however I did a deep dive into our requests using a tool similar to wireshark and found some interesting things:</p><ol><li>We were firing multiple Google Analytics tags despite having only hardcoded one</li><li>I was seeing requests to some really wacky domains like cd2.buckethosting.sketch</li></ol><h4>Expected Outcome : AdBlockplus tracks the hell out of you</h4><p>This is when it dawned on me that one of our third party tags was in fact not only firing requests, but was even firing pixel trackers used by images in the google chrome extensions themselves. We had client side scripting attacks and didnt even know! (See CSRF tokens for advise on how to protect against this)</p><h4><strong>Methods</strong></h4><p>Using the same forensic technique I’d used to a get $1b / year super corporation unbanned from Google for having malware (I did this in oneday since they <em>really </em>wanted this fixed quickly) I decided to see what other interesting “user-benefit features” adblock may also have.</p><ol><li>Killed all browser processes on my Ubuntu desktop 14.04 machine (which has come leaps and bounds by the way)</li><li>Opened up a fresh install of google chrome in only one window with only adblock running</li><li>I opened and refreshed chrome netinternals</li></ol><h4>Experiment : Run one waterfall DNS report hitting medium.com without adblockplus chrome plugin then compare to waterfall DNS requests of chrome hitting medium.com with adblockplus</h4><p><strong>Step 1 — Identifiedthe normal state of a chrome browser session without exernalities</strong></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/438/1*bs-qx6bzAlQN5pqSgjn9Vw.png" /><figcaption><strong>This is a fresh google chrome window right after being opened</strong></figcaption></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/524/1*YUPFekiMhuNPGgk8IiPNqQ.png" /><figcaption><strong>This is a fresh google chrome incognito window right after being opened</strong></figcaption></figure><p><strong>These are the requests after hitting medium.com page using a vanilla chrome browser in both incognito, and normal mode.</strong></p><ol><li>looks mostly like google security stuff, and nothing out of the ordinary</li><li>the 172.217 series appears to resolve to google in mountainview</li></ol><h4>Results — AdBlock at minimum appears to more than just block ads</h4><ol><li>It appears adblock plus pings data to at least 10 IPs</li><li>At least 2 of the adblock IPs had expired or no security certificates</li><li>AdBlockPlus only triggers data requests to these IPs the first time a user hits a page</li><li>AdBlockplus has the ability to block some ads on some sites, and let others in at will</li><li>Medium.com uses cloudflare, and all of their IPs were secure</li></ol><p>Would you be interested in me doing a followup to this? If so simply answer in this twitter poll and I’ll make one when the ‘yes’ answers hit 100!</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=a04fb0ee0388" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Nexus 5x Review!]]></title>
            <link>https://medium.com/@fin.tech/nexus-5x-review-f15632fb57cb?source=rss-233bf23ab72b------2</link>
            <guid isPermaLink="false">https://medium.com/p/f15632fb57cb</guid>
            <category><![CDATA[google-fi]]></category>
            <category><![CDATA[mobile]]></category>
            <category><![CDATA[android]]></category>
            <dc:creator><![CDATA[www.node.tech — Tech Blog]]></dc:creator>
            <pubDate>Fri, 23 Oct 2015 10:39:39 GMT</pubDate>
            <atom:updated>2015-10-23T10:40:25.723Z</atom:updated>
            <content:encoded><![CDATA[<p>Google sent me a nexus 5x today and it totally rocks. The Marshmallow OS update is quick and snappy and I’m loving how light the device is, how bright the resolution is, and the photos come out great even in low light.</p><h4>I got my nexus 5x with project fi in the mail today!</h4><ol><li>nexus 5x price : $379</li><li>Google fi costs : $50 / month for 3gb of data</li></ol><h4>Google fi costs : $50 / month for 3gb of data</h4><figure><img alt="" src="https://cdn-images-1.medium.com/max/284/1*jDoo6nEzKaFkGoju7mONYQ.jpeg" /></figure><h4>Came earlier than expected</h4><p>I expected my device to arrive around October 26th to 29th, however it came way earlier than expected! I’m typically not a phone, teardown, or even competent reviewer, but I’ll share the things I found cool about the device and the service!</p><h4>Responsible packaging</h4><p>It came in some cool recycled packaging and was really easy to unbox and get up and running. Not a bunch of fluff and plastic, and still aesthetic and pleasing to open.</p><h4>nexus 5x charger type USB-C</h4><p><strong>The good news: </strong>The first thing I noticed when unboxing was the weird cord. It is apparently USB-C which, combined with some cool hardware on the inside allows the phone charge 4 hours on just 10 minutes of charge!</p><p><strong>The bad news: </strong>I think if they’re switching to a new charger format altogether, they should have included a car charger IMO</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*5N8_OX0xQzemrSUfhO7tHw.jpeg" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/270/1*mZNIAVLtE5pnZVLhAC-5BQ.jpeg" /><figcaption>New USB-C charger type, charges phone for 4 hours in 10 minutes</figcaption></figure><h4>Nexus 5x SIM Card loading tray was neat</h4><p>I don’t know why I was so fascinated by this little loading tray, I think I just appreciated the inventiveness of it…</p><p>To put the sim card into the nexus 5s, you take this little key poker, and push it into a hole that releases the tray. You then put the sim card in the tray and voila, you’re good to go!</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*oX5ux8fokCV1CGn47O20jA.jpeg" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*9vHEnDRbki9xSdI0L3LeDw.jpeg" /><figcaption>Push the key into the side of the phone to release the nexus 5 sim card tray!</figcaption></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/979/1*Ktd_esjYJCGwHaA_xkFLVw.jpeg" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*B8ywLDJoSJZWWd5fhgcyhA.jpeg" /><figcaption>Sim card and key</figcaption></figure><h4>nexus 5x specs</h4><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*0UoZN_ED7kO-F1AvUhmBFQ.jpeg" /></figure><p>Operating System</p><ul><li>Android 6.0 Marshmallow</li></ul><p>Display</p><ul><li>5.2 inches</li><li>FHD (1920 x 1080) LCD at 423 ppi</li><li>Corning® Gorilla® Glass 3</li><li>Fingerprint and smudge-resistant oleophobic coating</li></ul><p>Rear Camera</p><ul><li>12.3 MP¹</li><li>1.55 µm pixels</li><li>f/2.0 aperture</li><li>IR laser-assisted autofocus</li><li>4K (30 fps) video capture</li><li>Broad-spectrum CRI-90 dual flash</li></ul><p>Front Camera</p><ul><li>5 MP</li><li>1.4 µm pixels</li><li>f/2.0 aperture</li></ul><p>Processors</p><ul><li>Qualcomm® Snapdragon™ 808 processor, 1.8 GHz hexa-core 64-bit</li><li>Adreno 418 GPU</li></ul><p>Memory &amp; Storage²</p><ul><li>RAM: 2 GB LPDDR3</li><li>Internal storage: 16 GB or 32 GB</li></ul><p>Dimensions³</p><ul><li>147.0 x 72.6 x 7.9 mm</li></ul><p>Weight</p><ul><li>136 g</li></ul><p>Color</p><ul><li>Carbon</li><li>Quartz</li><li>Ice</li></ul><p>Media</p><ul><li>Single front-facing speaker</li><li>3 microphones (1 front, 1 top, 1 bottom)</li></ul><p>Battery⁴</p><ul><li>2,700 mAh Battery</li><li>Fast charging: up to 3.8 hours of use from only 10 minutes of charging</li></ul><p>Wireless &amp; Location</p><ul><li>LTE cat. 6</li><li>Wi-Fi 802.11a/b/g/n/ac 2x2 MIMO, dual-band (2.4 GHz, 5.0 GHz)</li><li>Bluetooth 4.2</li><li>NFC</li><li>GPS / GLONASS</li><li>Digital compass</li><li>Wi-Fi use requires 802.11a/b/g/n/ac access point (router). Syncing services, such as backup, require a Google Account.</li></ul><p>Network</p><ul><li>GSM/EDGE: 850/900/1800/1900MHz</li><li>UMTS/WCDMA: B1/2/4/5/8</li><li>CDMA: BC0/1/10</li><li>LTE (FDD): B1/2/3/4/5/7/12/13/17/20/25/26/29</li><li>LTE (TDD): B41</li><li>LTE CA DL: B2-B2, B2-B4, B2-B5, B2-B12, B2-B13, B2-B17, B2-B29, B4-B4, B4-B5, B4-B7, B4-B12, B4-B13, B4-B17, B4-B29, B41-B41</li><li>Phone is carrier-unlocked with wide-range band support for service providers worldwide. Check with your service provider for more information.</li></ul><p>Sensors</p><ul><li>Fingerprint sensor</li><li>Accelerometer</li><li>Gyroscope</li><li>Barometer</li><li>Proximity sensor</li><li>Ambient light sensor</li><li>Hall sensor</li><li>Android Sensor Hub</li></ul><p>Ports</p><ul><li>Single USB Type-C</li><li>3.5 mm audio jack</li><li>Single Nano SIM slot</li></ul><p>Material</p><ul><li>Premium injection molded polycarbonate housing</li></ul><p>Other</p><ul><li>RGB LED notification light</li></ul><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*4A03B0s1VX3m9qPjmdNHIA.jpeg" /></figure><p>Last but not least,</p><h4>nexus 5x camera</h4><p>Is great so far, still haven’t used the front camera so I’ll post an update later</p><p>Thats all I got, but how you enjoy the phone, and so far I really like it. You can <a href="https://store.google.com/product/nexus_5x">buy it here</a></p><p>And <a href="https://twitter.com/developfintech">add me on twitter!</a></p><p>-Fintech</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=f15632fb57cb" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Fix Google webmaster tools verification meta-tag tied to old owner]]></title>
            <link>https://medium.com/@fin.tech/help-google-webmaster-tools-verification-meta-tag-tied-to-old-owner-605fc3fb7bce?source=rss-233bf23ab72b------2</link>
            <guid isPermaLink="false">https://medium.com/p/605fc3fb7bce</guid>
            <category><![CDATA[google-webmaster-tools]]></category>
            <category><![CDATA[gwt]]></category>
            <category><![CDATA[google-webmasters]]></category>
            <dc:creator><![CDATA[www.node.tech — Tech Blog]]></dc:creator>
            <pubDate>Thu, 25 Jun 2015 22:49:01 GMT</pubDate>
            <atom:updated>2015-10-23T10:50:14.092Z</atom:updated>
            <content:encoded><![CDATA[<p>How to change google webmaster tools owner without losing your data</p><ol><li>Leave meta tag alone</li><li>Just upload the google verification file to the site</li><li>Create a new account</li><li>Delete the old user — bam.</li></ol><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=605fc3fb7bce" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Which static assets to be served via NodeJS vs CDN]]></title>
            <link>https://medium.com/@fin.tech/which-static-assets-to-be-served-via-nodejs-vs-cdn-d6160d9431d1?source=rss-233bf23ab72b------2</link>
            <guid isPermaLink="false">https://medium.com/p/d6160d9431d1</guid>
            <dc:creator><![CDATA[www.node.tech — Tech Blog]]></dc:creator>
            <pubDate>Sat, 20 Jun 2015 05:16:47 GMT</pubDate>
            <atom:updated>2015-06-20T05:16:47.624Z</atom:updated>
            <content:encoded><![CDATA[<p>It’s obvious why you would use a CDN to serve up images to your visitors, but what about JS and CSS? How does NodeJS interact with static content delivery via a CDN and how does this affect performance?</p><h3>Reasons to host the following on a CDN</h3><p>Images — rarely change so caching is a non-issue, much faster content delivery. Lower bandwidth charges</p><p>JS — Not advised</p><p>CSS — Not advised</p><h3>Reasons to host directly on your cluster</h3><p>Images are great for CDNs, and but if you’re using a 3rd party CDN, they will almost-positively mine your data. This is especially true for Amazon. From personal experience, if you host on Amazon’s AWS, they will fire bots at competitor sites FROM YOUR IP to mine competitor data. I’m not cool with that, and I love Amazon, but not enough to let them borderline DDOS a little upcoming competitor, from an Amazon customer’s IP.</p><p>Images — Offline development, but also backups! If the CDN goes down, or fun CORS errors arise, you’re site is done for. But with images hosted locally as a failsafe, you have some wiggle room and lose less revenue per hour.</p><p>JS — Can require additional packages like _______ which merge assets, creating a smaller file and faster load time. Possibly opens you up to fun times dealing with cors, and possibly even JS attacks. Also HTTPS is a pain</p><p>CSS —Compressed CSS loads ridiculously faster. Tools like Sass and Less make both development and compiling time faster. I choose Sass as it’s what I know.</p><h3>Rendering Static Assets in NodeJS</h3><p>Ok so now we know! Host images on a CDN, and then your JS / CSS host locally. Some of you are having a lot of fun getting NodeJS to render a CSS file / JS file (probably because you didn’t take the time to learn the fundamentals of NodeJS because you’re busy cranking out code to finish projects by deadline!) that’s ok, I’m here to help you!</p><h3>ExpressJS</h3><p><a href="http://expressjs.com/">ExpressJS</a> — is a “Fast, unopinionated, minimalist web framework for <a href="http://nodejs.org/">Node.js</a>.” To me that means it’s like Rails, but for NodeJS. Awesome! But what if you built your app from scratch? <strong><em>Express is amazing, compiles assets down to LESS and gets you shipping static goods in no time to your hungry visitors. Go this route. ^^^</em></strong></p><h3>Directly through the router</h3><p>JIC you’re one of the crazies, and decide to do it yourself, well. Here we go:</p><p>I found an AWESOME blog <a href="http://www.davidgranado.com/2011/01/serve-a-static-html-file-with-nodejs/">http://www.davidgranado.com/2011/01/serve-a-static-html-file-with-nodejs/</a> that details the</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=d6160d9431d1" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[How does a NodeJS Router Work?]]></title>
            <link>https://medium.com/@fin.tech/how-does-a-nodejs-router-work-2370ecf846e3?source=rss-233bf23ab72b------2</link>
            <guid isPermaLink="false">https://medium.com/p/2370ecf846e3</guid>
            <dc:creator><![CDATA[www.node.tech — Tech Blog]]></dc:creator>
            <pubDate>Sat, 20 Jun 2015 05:16:31 GMT</pubDate>
            <atom:updated>2015-06-20T05:16:31.934Z</atom:updated>
            <content:encoded><![CDATA[<p>Basically, a NodeJS router script is just a piece of js code that takes the request from the app, typically a page path or resource, then applies business logic to determine what type of content to send to the renderer to be merged into a viewable page or consumable user content.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=2370ecf846e3" width="1" height="1" alt="">]]></content:encoded>
        </item>
    </channel>
</rss>