<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:dc="http://purl.org/dc/elements/1.1/">
  <channel>
    <title>DEV Community: LongYC</title>
    <description>The latest articles on DEV Community by LongYC (@longyc).</description>
    <link>https://dev.to/longyc</link>
    <image>
      <url>https://media2.dev.to/dynamic/image/width=90,height=90,fit=cover,gravity=auto,format=auto/https:%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Fuser%2Fprofile_image%2F180556%2F0d98d36d-a0f2-49f7-974e-1a5949598409.png</url>
      <title>DEV Community: LongYC</title>
      <link>https://dev.to/longyc</link>
    </image>
    <atom:link rel="self" type="application/rss+xml" href="https://dev.to/feed/longyc"/>
    <language>en</language>
    <item>
      <title>24th weekly post, cladding interface. Also, 2022?</title>
      <dc:creator>LongYC</dc:creator>
      <pubDate>Sun, 26 Dec 2021 15:10:38 +0000</pubDate>
      <link>https://dev.to/longyc/24th-weekly-post-cladding-interface-also-2022-34c0</link>
      <guid>https://dev.to/longyc/24th-weekly-post-cladding-interface-also-2022-34c0</guid>
      <description>&lt;h2&gt;
  
  
  Items of the week
&lt;/h2&gt;

&lt;ul&gt;
&lt;li&gt;&lt;p&gt;&lt;strong&gt;TypeScript&lt;/strong&gt; - a main distinction between interface and type aliases is that declaration merging is possible for interfaces, e.g. new fields can be added to an existing interface with an additional declaration of the said interface. This is documented in the &lt;a href="https://www.typescriptlang.org/docs/handbook/2/everyday-types.html#differences-between-type-aliases-and-interfaces"&gt;official TypeScript handbook&lt;/a&gt;.&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;&lt;strong&gt;Serverless&lt;/strong&gt; - CLAD is a model to think about Serverless security - Code, Library, Access, and Data. One useful perspective is to treat each function as a perimeter to be secured instead of a single application. Got that from chapter 3 of &lt;a href="https://www.goodreads.com/book/show/53324854-serverless-security"&gt;Serverless Security&lt;/a&gt;.&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;&lt;strong&gt;On the week 51 of 2021&lt;/strong&gt;, we saw that the introduction of &lt;code&gt;:has()&lt;/code&gt; CSS pseudo-class support in Safari Technology Preview Release 137, more details in &lt;a href="https://developer.apple.com/safari/technology-preview/release-notes/"&gt;the release note&lt;/a&gt;.&lt;/p&gt;&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;This is weekly bite-sized post on web app development from JavaScript to UX and technology in general, started in July 2021, with this one being the last post of the year. Not sure if this is something I want to continue into 2022 but there’ll definitely be change in the format and frequency at the very least, hopefully for the better. Thank you for reading and have a great new year ahead!&lt;/p&gt;

</description>
      <category>typescript</category>
      <category>serverless</category>
      <category>css</category>
    </item>
    <item>
      <title>23rd weekly post, server implementation. Also, Pari.</title>
      <dc:creator>LongYC</dc:creator>
      <pubDate>Sun, 19 Dec 2021 16:06:13 +0000</pubDate>
      <link>https://dev.to/longyc/23rd-weekly-post-server-implementation-also-pari-5h11</link>
      <guid>https://dev.to/longyc/23rd-weekly-post-server-implementation-also-pari-5h11</guid>
      <description>&lt;h2&gt;
  
  
  Items of the week
&lt;/h2&gt;

&lt;ul&gt;
&lt;li&gt;&lt;p&gt;&lt;strong&gt;Webpack&lt;/strong&gt; - when using the dev server, we can visit the &lt;code&gt;/webpack-dev-server&lt;/code&gt; route to access a list of all the files being served, this is mentioned as &lt;a href="https://webpack.js.org/configuration/dev-server/#devserver"&gt;a tip on the official documentation page&lt;/a&gt;.&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;&lt;strong&gt;HTTP/2&lt;/strong&gt; - just because a server speaks the protocol doesn't mean the underlying implementation is correct and given that HTTP/2 clients rely more on the server compared to older versions of HTTP, the impact might be worse. Got that from chapter 13 of &lt;a href="https://www.goodreads.com/book/show/17985198-high-performance-browser-networking"&gt;High Performance Browser Networking&lt;/a&gt;.&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;&lt;strong&gt;On the week 50 of 2021&lt;/strong&gt;, we saw a demo from Dell on Concept Pari - a magnetic webcam that can be attached to anywhere on a monitor screen, allowing video call participants to have eye contacts, or at least virtually. &lt;a href="https://arstechnica.com/gadgets/2021/12/dells-magnetic-wireless-webcam-might-help-you-forget-about-that-infamous-nose-cam/"&gt;The demo was covered by Ars Technica with some comparison on Dell's previous webcam designs&lt;/a&gt;.&lt;/p&gt;&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;This is a weekly bite-sized post on web app development from JavaScript to UX and technology in general. Thank you for reading and have a nice day!&lt;/p&gt;

</description>
    </item>
    <item>
      <title>22nd weekly post, remaining ratio. Also, Log4Shell.</title>
      <dc:creator>LongYC</dc:creator>
      <pubDate>Sun, 12 Dec 2021 15:58:43 +0000</pubDate>
      <link>https://dev.to/longyc/22nd-weekly-post-remaining-ratio-also-log4shell-1hh8</link>
      <guid>https://dev.to/longyc/22nd-weekly-post-remaining-ratio-also-log4shell-1hh8</guid>
      <description>&lt;h2&gt;
  
  
  Items of the week
&lt;/h2&gt;

&lt;ul&gt;
&lt;li&gt;&lt;p&gt;&lt;strong&gt;CSS&lt;/strong&gt; - &lt;code&gt;aspect-ratio&lt;/code&gt; can be used to set a preferred width-to-height ratio of a box, it accepts values of &lt;code&gt;&amp;lt;ratio&amp;gt;&lt;/code&gt; data type, e.g. &lt;code&gt;16/9&lt;/code&gt;. &lt;a href="https://developer.mozilla.org/en-US/docs/Web/Media/images/aspect_ratio_mapping"&gt;More about this CSS property is explained on MDN Web Docs&lt;/a&gt;.&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;&lt;strong&gt;AWS Lambda&lt;/strong&gt; - the context object passed to a handler function includes a method &lt;code&gt;getRemainingTimeInMillis()&lt;/code&gt; which returns the approximate remaining execution time before timeout. Picked that up from chapter 6 of &lt;a href="https://www.goodreads.com/en/book/show/29970427"&gt;Serverless Architectures on AWS&lt;/a&gt;.&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;&lt;strong&gt;On the week 49 of 2021&lt;/strong&gt;, we saw a remote code execution vulnerability on the popular Java logging library - Apache Log4j. Now also known as Log4Shell, the exploit allows arbitrary Java code to be executed, &lt;a href="https://www.lunasec.io/docs/blog/log4j-zero-day/"&gt;more details about this on LunaSec blog&lt;/a&gt;.&lt;/p&gt;&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;This is a weekly bite-sized post on web app development from JavaScript to UX and technology in general. Thank you for reading and have a nice day!&lt;/p&gt;

</description>
      <category>css</category>
      <category>aws</category>
      <category>java</category>
    </item>
    <item>
      <title>21st weekly post, memory search. Also, EC2 M1.</title>
      <dc:creator>LongYC</dc:creator>
      <pubDate>Sun, 05 Dec 2021 15:47:40 +0000</pubDate>
      <link>https://dev.to/longyc/21st-weekly-post-memory-search-also-ec2-m1-45ek</link>
      <guid>https://dev.to/longyc/21st-weekly-post-memory-search-also-ec2-m1-45ek</guid>
      <description>&lt;h2&gt;
  
  
  Items of the week
&lt;/h2&gt;

&lt;ul&gt;
&lt;li&gt;&lt;p&gt;&lt;strong&gt;Node.js&lt;/strong&gt; - we could get an object describing the memory usage of a Node.js process using &lt;code&gt;process.memoryUsage()&lt;/code&gt;. The numbers returned represent the usage in bytes, as described in &lt;a href="https://nodejs.org/api/process.html#processmemoryusage"&gt;the official documentation page&lt;/a&gt;.&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;&lt;strong&gt;Design&lt;/strong&gt; - a content is what a user needs right now, regardless of what a search form is designed for. If it's not feasible to have a universal search, label a search form explicitly, e.g. Search products. Got that from chapter 6 of &lt;a href="https://www.goodreads.com/book/show/42272974-form-design-patterns"&gt;Form Design Patterns&lt;/a&gt;.&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;&lt;strong&gt;On the week 48 of 2021&lt;/strong&gt;, AWS announced the preview of EC2 M1 Mac instances. There is &lt;a href="https://aws.amazon.com/blogs/aws/use-amazon-ec2-m1-mac-instances-to-build-test-macos-ios-ipados-tvos-and-watchos-apps/"&gt;an official blog post on this with details on pricing and example usage&lt;/a&gt;.&lt;/p&gt;&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;This is a weekly bite-sized post on web app development from JavaScript to UX and technology in general. Thank you for reading and have a nice day!&lt;/p&gt;

</description>
      <category>node</category>
      <category>design</category>
      <category>aws</category>
    </item>
    <item>
      <title>20th weekly post, reserved workers. Also, AL2022.</title>
      <dc:creator>LongYC</dc:creator>
      <pubDate>Sun, 28 Nov 2021 15:58:10 +0000</pubDate>
      <link>https://dev.to/longyc/20th-weekly-post-reserved-workers-also-al2022-463a</link>
      <guid>https://dev.to/longyc/20th-weekly-post-reserved-workers-also-al2022-463a</guid>
      <description>&lt;h2&gt;
  
  
  Items of the week
&lt;/h2&gt;

&lt;ul&gt;
&lt;li&gt;&lt;p&gt;&lt;strong&gt;Jest&lt;/strong&gt; - in single run mode, the maximum number of workers is set to be the number of CPU core available minus one for main thread, we can customise using the CLI option &lt;code&gt;--maxWorkers&lt;/code&gt;, as stated on the &lt;a href="https://jestjs.io/docs/cli#--maxworkersnumstring"&gt;official documentation page&lt;/a&gt;.&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;&lt;strong&gt;JavaScript&lt;/strong&gt; - &lt;code&gt;undefined&lt;/code&gt;, &lt;code&gt;NaN&lt;/code&gt;, and &lt;code&gt;Infinity&lt;/code&gt; are actually not reserved words, got this from chapter 2 of &lt;a href="https://www.goodreads.com/book/show/2998152-javascript"&gt;JavaScript: The Good Parts&lt;/a&gt;.&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;&lt;strong&gt;On the week 47 of 2021&lt;/strong&gt;, we saw the public preview of Amazon Linux 2022 which is now based on Fedora. Also, there will be a new major version of Amazon Linux every two years from now on and each will be supported for five years. More information available on the &lt;a href="https://aws.amazon.com/about-aws/whats-new/2021/11/preview-amazon-linux-2022/"&gt;official announcement page&lt;/a&gt;.&lt;/p&gt;&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;This is a weekly bite-sized post on web app development from JavaScript to UX and technology in general. Thank you for reading and have a nice day!&lt;/p&gt;

</description>
      <category>javascript</category>
      <category>aws</category>
    </item>
    <item>
      <title>19th weekly post, tracking and kerning. Also, mock integration.</title>
      <dc:creator>LongYC</dc:creator>
      <pubDate>Sun, 21 Nov 2021 15:59:44 +0000</pubDate>
      <link>https://dev.to/longyc/19th-weekly-post-tracking-and-kerning-also-mock-integration-3380</link>
      <guid>https://dev.to/longyc/19th-weekly-post-tracking-and-kerning-also-mock-integration-3380</guid>
      <description>&lt;h2&gt;
  
  
  Items of the week
&lt;/h2&gt;

&lt;ul&gt;
&lt;li&gt;&lt;p&gt;&lt;strong&gt;Typography&lt;/strong&gt; - it affects first impressions because even when users don't read copy, they scan it. Approaches to adjust spacing between characters include tracking (horizontal spaces between words) and kerning (spaces between two individual letters). &lt;a href="https://uxplanet.org/typography-in-ui-guide-for-beginners-7ee9bdbc4833"&gt;UX Planet has a UI typography beginner guide that explains these and more&lt;/a&gt;.&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;&lt;strong&gt;AWS API Gateway&lt;/strong&gt; - we can utilise mock integration to generate a response without integrating with any other services, got this from chapter 7 of &lt;a href="https://www.goodreads.com/en/book/show/29970427"&gt;Serverless Architectures on AWS&lt;/a&gt;.&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;&lt;strong&gt;On the week 46 of 2021&lt;/strong&gt;, we saw the beta release of Serverless framework version 3, there were a lot of highlights on the new CLI but it's also noteworthy that many features deprecated in version 2 are not removed. More information available on the &lt;a href="https://www.serverless.com/blog/serverless-framework-v3-beta"&gt;announcement blog post&lt;/a&gt;.&lt;/p&gt;&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;This is a weekly bite-sized post on web app development from JavaScript to UX and technology in general. Thank you for reading and have a nice day!&lt;/p&gt;

</description>
      <category>typography</category>
      <category>aws</category>
      <category>serverless</category>
    </item>
    <item>
      <title>18th weekly post, pager and comments. Also, Hydrogen.</title>
      <dc:creator>LongYC</dc:creator>
      <pubDate>Sun, 14 Nov 2021 14:00:43 +0000</pubDate>
      <link>https://dev.to/longyc/18th-weekly-post-pager-and-comments-also-hydrogen-1k1c</link>
      <guid>https://dev.to/longyc/18th-weekly-post-pager-and-comments-also-hydrogen-1k1c</guid>
      <description>&lt;h2&gt;
  
  
  Items of the week
&lt;/h2&gt;

&lt;ul&gt;
&lt;li&gt;&lt;p&gt;&lt;strong&gt;Git&lt;/strong&gt; - the &lt;code&gt;--no-pager&lt;/code&gt; option can prevent git from piping output to a pager, this option could be useful for logging in a CI environment, e.g. &lt;code&gt;git --no-pager log&lt;/code&gt;. More info available on &lt;a href="https://git-scm.com/docs/git#Documentation/git.txt---no-pager"&gt;git documentation page&lt;/a&gt;.&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;&lt;strong&gt;JavaScript&lt;/strong&gt; - the block comment syntax &lt;code&gt;/* */&lt;/code&gt; comes from the PL/I language. The pairs were used in PL/I because their occurrence is unlikely but they can appear in JS regex literals, thus making them unsafe for commenting out blocks of code. Got this from chapter 2 of &lt;a href="https://www.goodreads.com/book/show/2998152-javascript"&gt;JavaScript: The Good Parts&lt;/a&gt;.&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;&lt;strong&gt;On the week 45 of 2021&lt;/strong&gt;, we saw the release of developer preview of Hydrogen - a React-based framework from Shopify focused on building custom storefronts, it ships with built-in components and Tailwind CSS. More info can be found on &lt;a href="https://www.shopify.my/partners/blog/hydrogen-developer-preview"&gt;its announcement post on Shopify blog&lt;/a&gt;.&lt;/p&gt;&lt;/li&gt;
&lt;/ul&gt;

&lt;h2&gt;
  
  
  A little note
&lt;/h2&gt;

&lt;p&gt;Looking at the reviews and benchmarks of the new MacBook Pro with M1 Pro/Max, the single core performance improvement over the much cheaper M1 MacBook Air seems negligible. So, other hardware features aside, they are only better options (performance-wise) if you need more performance cores or much, much faster graphics. That's all for this week's post, thank you for reading and have a nice day!&lt;/p&gt;

</description>
      <category>git</category>
      <category>javascript</category>
    </item>
    <item>
      <title>17th weekly post, Action matrix. Also, Lambda alias.</title>
      <dc:creator>LongYC</dc:creator>
      <pubDate>Sun, 07 Nov 2021 14:53:51 +0000</pubDate>
      <link>https://dev.to/longyc/17th-weekly-post-action-matrix-also-lambda-alias-fe3</link>
      <guid>https://dev.to/longyc/17th-weekly-post-action-matrix-also-lambda-alias-fe3</guid>
      <description>&lt;h2&gt;
  
  
  Items of the week
&lt;/h2&gt;

&lt;ul&gt;
&lt;li&gt;&lt;p&gt;&lt;strong&gt;GitHub Action&lt;/strong&gt; - there can be up to 256 jobs per workflow run using a job matrix. One example use case is to run with multiple versions of Node.js, as pointed out by &lt;a href="https://docs.github.com/en/actions/learn-github-actions/workflow-syntax-for-github-actions#jobsjob_idstrategymatrix"&gt;the official GitHub Docs webpage&lt;/a&gt;.&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;&lt;strong&gt;AWS Lambda&lt;/strong&gt; - we could create aliases for Lambda functions, an alias has its own ARN and points to specific version of a function. One use case is to set up production and staging aliases that points to different versions of a function, got this from chapter 6 of &lt;a href="https://www.goodreads.com/en/book/show/29970427"&gt;Serverless Architectures on AWS&lt;/a&gt;.&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;&lt;strong&gt;On the week 44 of 2021&lt;/strong&gt;, we saw the release of Intel's 12th generation Core processors known as Alder Lake, one of the highlights is that it's a hybrid architecture with both performance cores and efficiency cores. &lt;a href="https://www.anandtech.com/show/17047/the-intel-12th-gen-core-i912900k-review-hybrid-performance-brings-hybrid-complexity"&gt;AnandTech has a detailed review on this&lt;/a&gt;.&lt;/p&gt;&lt;/li&gt;
&lt;/ul&gt;

&lt;h2&gt;
  
  
  A little note
&lt;/h2&gt;

&lt;p&gt;Another small change in the post format, of the three weekly items, one will be from an online source, like an article or a Tweet, while another one will be from a book or a paper, and to mix things up a little, the third item will be a bit of a wild card, probably something new from that week. That's all for this week's post, thank you for reading and have a nice day!&lt;/p&gt;

</description>
      <category>github</category>
      <category>aws</category>
      <category>intel</category>
    </item>
    <item>
      <title>16th weekly post, slice and map. Also, Jest.</title>
      <dc:creator>LongYC</dc:creator>
      <pubDate>Sun, 31 Oct 2021 15:58:53 +0000</pubDate>
      <link>https://dev.to/longyc/16th-weekly-post-slice-and-map-also-jest-54f3</link>
      <guid>https://dev.to/longyc/16th-weekly-post-slice-and-map-also-jest-54f3</guid>
      <description>&lt;h2&gt;
  
  
  Items of the week
&lt;/h2&gt;

&lt;ol&gt;
&lt;li&gt;&lt;p&gt;&lt;strong&gt;JavaScript&lt;/strong&gt; - the array &lt;code&gt;.slice()&lt;/code&gt; method accepts negative index, thus it is possible to extract the last element with &lt;code&gt;.slice(0, -1)&lt;/code&gt;. More details available on &lt;a href="https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Array/slice"&gt;MDN Web Docs&lt;/a&gt;.&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;&lt;strong&gt;JavaScript&lt;/strong&gt; - it is common to see objects being used as maps but there are quite a number of differences in using an actual &lt;code&gt;Map&lt;/code&gt;, such as using any types as keys instead of just string. MDN Web Docs has &lt;a href="https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Map#objects_vs._maps"&gt;a good comparison table on this&lt;/a&gt;.&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;&lt;strong&gt;Jest&lt;/strong&gt; - ESM support is still experimental at the moment as mentioned in &lt;a href="https://jestjs.io/docs/ecmascript-modules"&gt;the official documentation page&lt;/a&gt;.&lt;/p&gt;&lt;/li&gt;
&lt;/ol&gt;

&lt;h2&gt;
  
  
  Note of the week
&lt;/h2&gt;

&lt;p&gt;On the week 43 of 2021, we saw that &lt;a href="https://mozillagfx.wordpress.com/2021/10/30/switching-the-linux-graphics-stack-from-glx-to-egl/"&gt;the news of the upcoming Firefox 94 switching from GLX to EGL&lt;/a&gt;, this should translate to better WebGL performance for Linux users. That's all for this week's post, I must admit this week's post was a bit more rushed than usual, still, thank you for reading and if you have got any feedback, do let me know by leaving a comment. Have a nice day!&lt;/p&gt;

</description>
      <category>javascript</category>
      <category>jest</category>
      <category>firefox</category>
    </item>
    <item>
      <title>15th weekly post, a sticky configuration. Also, goal-gradient effect.</title>
      <dc:creator>LongYC</dc:creator>
      <pubDate>Sun, 24 Oct 2021 10:18:21 +0000</pubDate>
      <link>https://dev.to/longyc/15th-weekly-post-a-sticky-configuration-also-goal-gradient-effect-2aln</link>
      <guid>https://dev.to/longyc/15th-weekly-post-a-sticky-configuration-also-goal-gradient-effect-2aln</guid>
      <description>&lt;h2&gt;
  
  
  Items of the week
&lt;/h2&gt;

&lt;ol&gt;
&lt;li&gt;&lt;p&gt;&lt;strong&gt;CSS&lt;/strong&gt; - an element with &lt;code&gt;position: sticky;&lt;/code&gt; sticks to the nearest parent / ancestor element that is scrollable , thus wrapping the said element in a container might change its behaviour.  The explanation is available on &lt;a href="https://developer.mozilla.org/en-US/docs/Web/CSS/position"&gt;MDN Web Docs&lt;/a&gt;.&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;&lt;strong&gt;Serverless&lt;/strong&gt; - the Serverless framework configuration file (&lt;code&gt;serverless.yml&lt;/code&gt;) allows using variables as config values, e.g. &lt;code&gt;light: ${env:LIGHT_SWITCH}&lt;/code&gt;, what's great is that it also allows nested variable references, e.g. &lt;code&gt;light: ${env:${opt:room}_LIGHT_SWITCH}&lt;/code&gt;. Details can be found on the &lt;a href="https://www.serverless.com/framework/docs/providers/aws/guide/variables/#nesting-variable-references"&gt;documentation page&lt;/a&gt;.&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;&lt;strong&gt;Design&lt;/strong&gt; - use progress visualisation, gamification, and activity tracking in design to motivate users toward desired goals. These techniques can invoke the goal-gradient effect where users might put more efforts as they get closer to targets, as explained by &lt;a href="https://uxdesign.cc/designing-for-motivation-with-the-goal-gradient-effect-c873cdf58beb"&gt;an article on UX Collective&lt;/a&gt;.&lt;/p&gt;&lt;/li&gt;
&lt;/ol&gt;

&lt;h2&gt;
  
  
  Note of the week
&lt;/h2&gt;

&lt;p&gt;On the week 42 of 2021, we saw &lt;a href="https://nodejs.org/en/blog/release/v17.0.0/"&gt;the release of Node.js 17&lt;/a&gt; with the underlying V8 JavaScript engine updated to version 9.5 and also &lt;a href="https://developer.chrome.com/blog/new-in-chrome-95/"&gt;the release of Chrome 95&lt;/a&gt; that marks the start of the new user-agent reduction origin trial. That's all for this week's post, thank you for reading and if you have got any feedback, do let me know by leaving a comment. Have a nice day!&lt;/p&gt;

</description>
      <category>css</category>
      <category>serverless</category>
      <category>design</category>
    </item>
    <item>
      <title>14th weekly post, constant assertions and signatures. Also, storytelling in design.</title>
      <dc:creator>LongYC</dc:creator>
      <pubDate>Sun, 17 Oct 2021 16:57:52 +0000</pubDate>
      <link>https://dev.to/longyc/14th-weekly-post-constant-assertions-and-signatures-also-storytelling-in-design-49jc</link>
      <guid>https://dev.to/longyc/14th-weekly-post-constant-assertions-and-signatures-also-storytelling-in-design-49jc</guid>
      <description>&lt;h2&gt;
  
  
  Items of the week
&lt;/h2&gt;

&lt;ol&gt;
&lt;li&gt;&lt;p&gt;&lt;strong&gt;TypeScript&lt;/strong&gt; - const assertion can prevent literal types from being treated as more general types, e.g. &lt;code&gt;const config = {light: "ON"} as const;&lt;/code&gt; will have &lt;code&gt;light&lt;/code&gt; as the literal type &lt;code&gt;"ON"&lt;/code&gt; instead of &lt;code&gt;string&lt;/code&gt;, making it compatible with type &lt;code&gt;{light: "ON" | "OFF"}&lt;/code&gt;. It'll also make &lt;code&gt;light&lt;/code&gt; readonly. More explanation can be found on the &lt;a href="https://www.typescriptlang.org/docs/handbook/release-notes/typescript-3-4.html#const-assertions"&gt;official documentation page&lt;/a&gt;. &lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;&lt;strong&gt;JWT&lt;/strong&gt; - it can be signed asymmetrically with a key pair or symmetrically with a shared secret. The latter means all parties involved use one secret for both signing and signature verification, which means any party with the shared secret could have signed the JWS - something to be taken into consideration during implementation.&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;&lt;strong&gt;Design &amp;amp; storytelling&lt;/strong&gt; - good stories are engaging and help build empathy, adapting them to your audience and backing up the points with data could be helpful in getting buy-in during a design process. &lt;a href="https://www.nngroup.com/articles/persuasive-storytelling/"&gt;NN/g has an article on 6  rules for persuasive storytelling&lt;/a&gt;.&lt;/p&gt;&lt;/li&gt;
&lt;/ol&gt;

&lt;h2&gt;
  
  
  Note of the week
&lt;/h2&gt;

&lt;p&gt;On the week 41 of 2021, I found out about a portable game console powered by a microcontroller - &lt;a href="https://shop.pimoroni.com/products/picosystem"&gt;PicoSystem&lt;/a&gt;, an interesting product considering it is sporting the RP2040 just like a Raspberry Pi Pico. That's all for this week's post, thank you for reading and if you have got any feedback, do let me know by leaving a comment. Have a nice day!&lt;/p&gt;

</description>
      <category>typescript</category>
      <category>jwt</category>
      <category>design</category>
    </item>
    <item>
      <title>13th weekly post, specific stashes and regions. Also, colourblindness.</title>
      <dc:creator>LongYC</dc:creator>
      <pubDate>Sun, 10 Oct 2021 13:55:58 +0000</pubDate>
      <link>https://dev.to/longyc/13th-weekly-post-specific-stashes-and-regions-also-colourblindness-m2o</link>
      <guid>https://dev.to/longyc/13th-weekly-post-specific-stashes-and-regions-also-colourblindness-m2o</guid>
      <description>&lt;h2&gt;
  
  
  Items of the week
&lt;/h2&gt;

&lt;ol&gt;
&lt;li&gt;&lt;p&gt;&lt;strong&gt;Git&lt;/strong&gt; - use the &lt;code&gt;git stash push&lt;/code&gt; command followed by pathspec to stash specific files, e.g. &lt;code&gt;git stash push file/not-to-commit-now.js&lt;/code&gt;, or for multiple files, &lt;code&gt;git stash push directory/*&lt;/code&gt;. More details on the &lt;a href="https://git-scm.com/docs/git-stash"&gt;git documentation page&lt;/a&gt;.&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;&lt;strong&gt;AWS&lt;/strong&gt; - regions are physical locations of data centres, choosing one that's near to target users can reduce latency but on top of that, there is also AWS Local Zones for latency-sensitive use cases, and even AWS Wavelength for 5G mobile devices allowing traffic to stay within a mobile provider's network to avoiding extra network hops. More information available on &lt;a href="https://aws.amazon.com/about-aws/global-infrastructure/regions_az/#AWS_Local_Zones"&gt;AWS's about page&lt;/a&gt;.&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;&lt;strong&gt;Colourblindness&lt;/strong&gt; - be reminded that it is often about difficulty in differentiating colours, not that colours disappearing entirely and the colours most affected by colour-vision deficiency are red and green. Best to avoid using colour alone to convey meaning in designs. More on this in &lt;a href="https://joeclark.org/book/sashay/serialization/Chapter09.html"&gt;the chapter 9 of the book Building Accessible Websites&lt;/a&gt;.&lt;/p&gt;&lt;/li&gt;
&lt;/ol&gt;

&lt;h2&gt;
  
  
  Note of the week
&lt;/h2&gt;

&lt;p&gt;On the week 40 of 2021, a couple of major incidents in the tech industry including &lt;a href="https://engineering.fb.com/2021/10/04/networking-traffic/outage/"&gt;hours-long Facebook outage&lt;/a&gt; and &lt;a href="https://www.videogameschronicle.com/news/the-entirety-of-twitch-has-reportedly-been-leaked/"&gt;Twitch data leak&lt;/a&gt;, not to mention &lt;a href="https://techcrunch.com/2021/09/26/signal-the-encrypted-messaging-app-is-currently-down-for-many-users/"&gt;Signal was down last week&lt;/a&gt; as well. Seems like the importance of reliability and security are most significant in their absence. That's all for this week's post, thank you for reading and if you have got any feedback, do let me know by leaving a comment. Have a nice day!&lt;/p&gt;

</description>
      <category>git</category>
      <category>aws</category>
      <category>design</category>
    </item>
  </channel>
</rss>
