<?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 Jen Wong on Medium]]></title>
        <description><![CDATA[Stories by Jen Wong on Medium]]></description>
        <link>https://medium.com/@jenwong?source=rss-dba76702df98------2</link>
        <image>
            <url>https://cdn-images-1.medium.com/fit/c/150/150/0*sGFyNn31f89Ypv9j.jpg</url>
            <title>Stories by Jen Wong on Medium</title>
            <link>https://medium.com/@jenwong?source=rss-dba76702df98------2</link>
        </image>
        <generator>Medium</generator>
        <lastBuildDate>Fri, 04 Dec 2026 02:21:59 GMT</lastBuildDate>
        <atom:link href="https://medium.com/@jenwong/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[Whiskey Cream Caramel by Jen Wong]]></title>
            <link>https://medium.com/@jenwong/whiskey-cream-caramel-by-jen-wong-5d8316e9c3de?source=rss-dba76702df98------2</link>
            <guid isPermaLink="false">https://medium.com/p/5d8316e9c3de</guid>
            <category><![CDATA[recipe]]></category>
            <dc:creator><![CDATA[Jen Wong]]></dc:creator>
            <pubDate>Tue, 04 Jun 2019 18:12:26 GMT</pubDate>
            <atom:updated>2020-07-04T02:55:01.655Z</atom:updated>
            <content:encoded><![CDATA[<h3>Burnt Whiskey Caramel by Jen Wong</h3><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*CKqQ_QmaLOwi1DAv61JgzQ.png" /></figure><p><strong>Ingredients:</strong></p><p>2 cups cream<br>1 cup whole milk<br>1 cup sugar<br>4 tablespoons butter<br>5 egg yolks<br>1 tablespoon vanilla<br>2 tablespoons whiskey</p><p><strong>Methods:</strong></p><ol><li>In a pot warm milk over low heat.</li><li>Take the cream out of the fridge and allow it to come to room temperature. Heating the cream damages the integrity of the fats.</li><li>In a second pot warm 3/4 cups sugar over medium heat, stirring constantly until sugar melts caramelizing a rich dark brown. Add butter and stir for another 30 seconds over heat to brown milk fats.</li><li>Add milk to sugar a teaspoon at a time, stirring vigorously so the caramel doesn’t seize. After incorporating five teaspoons add the rest of the cream/milk to the caramelized sugar.</li><li>In bowl add 5 yolks and with electric beater mix in 1/4 cup sugar until yolks become pale and <a href="https://www.youtube.com/watch?v=3wanpYofiyg">ribbons</a>.</li><li>Temper yolks by adding hot caramel cream a tablespoon at a time and mixing vigorously. After you’ve added 5 tablespoons, mix rest of hot milk/cream. This prevents inadvertently making scrambled eggs.</li><li>Over low heat, gently stir egg/caramel mixture until thickens to custard and <a href="https://www.youtube.com/watch?v=hS6nfjOsoBw">coats back of mixing spoon</a>.</li><li>Add cream.</li><li>Add vanilla and whiskey to taste.</li><li>Chill in ice bath and churn immediately or leave covered in the fridge and churn on demand. Mixture will keep until expiry dates on milk products. Aging overnight in fridge enhances flavour.</li></ol><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=5d8316e9c3de" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Chocolate Brandy Ice Cream by Jen Wong]]></title>
            <link>https://medium.com/@jenwong/chocolate-brandy-ice-cream-by-jen-wong-b69e40ac604e?source=rss-dba76702df98------2</link>
            <guid isPermaLink="false">https://medium.com/p/b69e40ac604e</guid>
            <category><![CDATA[recipe]]></category>
            <dc:creator><![CDATA[Jen Wong]]></dc:creator>
            <pubDate>Mon, 03 Jun 2019 06:21:18 GMT</pubDate>
            <atom:updated>2019-06-03T06:35:01.807Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*tN9ssQex9gexUxcgXtxckQ.png" /></figure><p><strong>Ingredients:</strong></p><p>2 cups cream<br>1 cup whole milk<br>1/3 cup coconut sugar<br>3 tablespoons high quality cocoa<br>5 ounces dark chocolate<br>5 egg yolks<br>1 tablespoon vanilla<br>2 tablespoons brandy<br>1 teaspoon lemon<br>1 teaspoon fine ground coffee (enhances flavour of chocolate)<br>1 pinch salt</p><p><strong>Methods:</strong></p><ol><li>In double boiler mix 1 cup cream and cocoa. Bring to boil and add chopped dark chocolate. Stir until melted.</li><li>In second double boiler, bring 1 cup cream and 1 cup whole milk just under boil.</li><li>In bowl add 5 yolks and with electric beater mix in 1/3 cup sugar until yolks become pale and <a href="https://www.youtube.com/watch?v=3wanpYofiyg">ribbons</a>.</li><li>Temper yolks by adding hot milk a tablespoon at a time and mixing vigorously. After you’ve added 5 tablespoons, mix rest of hot milk/cream. This prevents inadvertently making scrambled eggs.</li><li>Pour egg/milk/cream mixture back into the double boiler. Over low heat, gently stir until mixture thickens to custard and <a href="https://www.youtube.com/watch?v=hS6nfjOsoBw">coats back of mixing spoon</a>.</li><li>Add custard to cream/cocoa/chocolate mixture.</li><li>Add lemon, vanilla, salt, brandy and coffee to taste.</li><li>Chill in ice bath and churn immediately or leave covered in the fridge and churn on demand. Mixture will keep until expiry dates on milk products. Aging overnight in fridge enhances flavour.</li></ol><p>*Make your own double boiler by putting a small point inside a big pot<br>*Make<a href="https://www.youtube.com/watch?v=E1I9WVCvcxE&amp;feature=youtu.be"> ice cream cones </a>with egg whites</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=b69e40ac604e" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Mobile First CSS: Still a Best Practice in 2018]]></title>
            <link>https://medium.com/@jenwong/mobile-first-css-best-practices-in-2018-bd4788305798?source=rss-dba76702df98------2</link>
            <guid isPermaLink="false">https://medium.com/p/bd4788305798</guid>
            <category><![CDATA[mobile]]></category>
            <category><![CDATA[design]]></category>
            <category><![CDATA[html]]></category>
            <category><![CDATA[css]]></category>
            <category><![CDATA[react]]></category>
            <dc:creator><![CDATA[Jen Wong]]></dc:creator>
            <pubDate>Tue, 10 Apr 2018 02:25:18 GMT</pubDate>
            <atom:updated>2018-04-10T15:12:09.260Z</atom:updated>
            <content:encoded><![CDATA[<ul><li>Gold standard is heading towards handling everything with responsive grid and no media queries: <a href="https://www.smashingmagazine.com/2018/02/media-queries-responsive-design-2018/">https://www.smashingmagazine.com/2018/02/media-queries-responsive-design-2018/</a> In my opinion, although this may be the future, given currently technologies this approach seems less flexible and more likely to break.</li><li>Performance wise shaving 2.5mbs off your webpack build will have a much greater impact than optimizing css, but enthusiasm for mobile first css is the general trend.</li><li>Phones in SF are fast, but international products might be limited by older phones phones and less data.</li><li>Mobile designs have fewer columns and are generally are simpler than desktop. Defaults for grid is one row and column (which is often a mobile view) and starting with mobile and then adding columns and rows for larger devices is less css than starting with desktop and then removing styles for mobile.</li></ul><h4>These styles do the same thing, but mobile first is slightly more terse:</h4><h4><strong>Mobile First:</strong></h4><iframe src="" width="0" height="0" frameborder="0" scrolling="no"><a href="https://medium.com/media/eeaa70d5eed0e045048469811ce6a29a/href">https://medium.com/media/eeaa70d5eed0e045048469811ce6a29a/href</a></iframe><h4><strong>Desktop First:</strong></h4><iframe src="" width="0" height="0" frameborder="0" scrolling="no"><a href="https://medium.com/media/b7a0937e251e5b5cf4c0bbe9c064fb68/href">https://medium.com/media/b7a0937e251e5b5cf4c0bbe9c064fb68/href</a></iframe><h3>Benjamin De Cock css superhuman/5 year UI engineer @<a href="https://medium.com/u/3ecae35d6d66">Stripe</a> 👍 mobile first css.</h3><h3>Jen Wong on Twitter</h3><p>@bdc love your work! Do you recommend writing base css styles for mobile and using media queries to scale up for desktop?</p><h3>Benjamin De Cock on Twitter</h3><p>@delicioustimes Thanks! That&#39;s what I do yeah :)</p><blockquote>A media query is a logical expression that is either true or false. <a href="https://www.w3.org/TR/css3-mediaqueries/">https://www.w3.org/TR/css3-mediaqueries/</a></blockquote><p>(It feels intuitive that devices that don’t match media queries completely ignore their contents, though I haven’t found that documented anywhere yet). Regardless, starting with mobile definitely means that a phone won’t style first for desktop and then update to mobile styles.</p><ul><li>Google turns up no-one evangelizing desktop first css.</li></ul><blockquote>This article is a working draft, please comment if you disagree or have additional facts or arguments!</blockquote><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=bd4788305798" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[How does Medium style external links?]]></title>
            <link>https://medium.com/@jenwong/how-does-medium-style-external-links-59bef07cf5db?source=rss-dba76702df98------2</link>
            <guid isPermaLink="false">https://medium.com/p/59bef07cf5db</guid>
            <dc:creator><![CDATA[Jen Wong]]></dc:creator>
            <pubDate>Wed, 28 Mar 2018 15:48:35 GMT</pubDate>
            <atom:updated>2018-03-28T15:48:35.628Z</atom:updated>
            <content:encoded><![CDATA[<p><a href="https://www.instagram.com/">Instagram</a></p><p>normal text and <a href="https://www.instagram.com/">link</a></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=59bef07cf5db" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Hash Tables: A Simple Javascript Example]]></title>
            <link>https://medium.com/@jenwong/hash-tables-a-simple-javascript-example-237f92d36459?source=rss-dba76702df98------2</link>
            <guid isPermaLink="false">https://medium.com/p/237f92d36459</guid>
            <category><![CDATA[javascript]]></category>
            <dc:creator><![CDATA[Jen Wong]]></dc:creator>
            <pubDate>Sat, 04 Jun 2016 21:53:32 GMT</pubDate>
            <atom:updated>2016-06-04T21:53:32.428Z</atom:updated>
            <content:encoded><![CDATA[<p>A solid understanding of data structures is critical for building DRY scalable apps. This article is the first in a series that examines what’s going on under the hood in common data structures. To encourage granular comprehension examples are illustrated without native javascript methods.</p><h4>Hash Tables</h4><p>Hash tables optimize storage for key-value pairs. In best case scenarios hash table insertion, retrieval and deletion are constant time. Hash tables are used to store large amounts of quickly accessible information like passwords.</p><h4>Anatomy of a Hash Table:</h4><p>This is a basic Javascript hash table implementation. A hash table can be conceptualized as an array holding a series of tuples stored in sub-arrays inside of an object:</p><blockquote>{ [[ [‘a’, 9], [‘b’, 88] ],[ [‘e’, 7], [‘q’, 8] ],[ [‘j’, 7], [‘l’, 8] ]] };</blockquote><p>The outer array holds a number of buckets (sub-arrays) equal to the max length of the array. Inside the buckets, tuples or two element arrays hold key-value pairs.</p><p>When key-value pairs are inserted into the hash table, the key is hashed with a hashing function. The key and the maximum length of the array are passed to the hashing function which returns an index used to identify the bucket.</p><p>Given the same input, a hashing function will always provide the same output. For example if I were to hash the string ‘bee’ for an array with a max length of 5, I would get 2 every-time. A good hashing function will distribute input evenly across all buckets.</p><p>In best case scenarios insertion happens in constant time. The insertion function hashes the key to produce the bucket index, and then iterates through the bucket to make sure that the key doesn’t already exist. Keys must be unique in hash tables otherwise retrieval of all values is not possible. In a best case scenario, the bucket is empty and insertion is constant. In a worst case scenario if the hashing function has poor entropy and the keys are similar, inputs get clustered into a single bucket and insertion nears a linear time operation.</p><p>Increasing the size of a hash table decreases the chance of tuples being stored in the same bucket and improves lookup time, but uses more memory. A smaller hash table is more space efficient, but increases the chance of collisions where values are hashed to the same bucket. The optimum hash table is between 25% and 75% full.</p><p>Although our example is in Javascript it’s worth noting that Javascript arrays lengths are mutable and behave similarly to hash tables. In many languages when instantiating an array, the length must be declared and is immutable. If you create an array with a maximum length of 8, once it is instantiated, it is impossible to make the array bigger. The _storageLimit method is included in the code below so that our Javascript array will function like an array in a strongly typed language.</p><iframe src="" width="0" height="0" frameborder="0" scrolling="no"><a href="https://medium.com/media/a363b8aaa2894d6504ed89b839ff9774/href">https://medium.com/media/a363b8aaa2894d6504ed89b839ff9774/href</a></iframe><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=237f92d36459" width="1" height="1" alt="">]]></content:encoded>
        </item>
    </channel>
</rss>