<?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 Tom Lee on Medium]]></title>
        <description><![CDATA[Stories by Tom Lee on Medium]]></description>
        <link>https://medium.com/@tomlee_91749?source=rss-2017ff13134b------2</link>
        <image>
            <url>https://cdn-images-1.medium.com/fit/c/150/150/0*r5AAfhFigvRk-2hO.jpg</url>
            <title>Stories by Tom Lee on Medium</title>
            <link>https://medium.com/@tomlee_91749?source=rss-2017ff13134b------2</link>
        </image>
        <generator>Medium</generator>
        <lastBuildDate>Wed, 27 May 2026 23:45:43 GMT</lastBuildDate>
        <atom:link href="https://medium.com/@tomlee_91749/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[M1 Mac switch between x86_64 and arm 64]]></title>
            <link>https://medium.com/@tomlee_91749/m1-mac-switch-between-x86-64-and-arm-64-7609e51711fd?source=rss-2017ff13134b------2</link>
            <guid isPermaLink="false">https://medium.com/p/7609e51711fd</guid>
            <category><![CDATA[m1]]></category>
            <category><![CDATA[arm]]></category>
            <category><![CDATA[terminal]]></category>
            <category><![CDATA[x86-64]]></category>
            <category><![CDATA[flexible-mac-architecture]]></category>
            <dc:creator><![CDATA[Tom Lee]]></dc:creator>
            <pubDate>Thu, 02 May 2024 18:18:47 GMT</pubDate>
            <atom:updated>2024-05-02T18:18:47.136Z</atom:updated>
            <content:encoded><![CDATA[<ul><li><a href="https://vineethbharadwaj.medium.com/m1-mac-switching-terminal-between-x86-64-and-arm64-e45f324184d9">M1 Mac — Switching Terminal between x86_64 and arm64</a></li><li><a href="https://stackoverflow.com/questions/75942145/how-to-quickly-change-between-arm64-or-x86-architecture-in-m1-m2-mac-terminals">How to quickly change between arm64 or x86 architecture in M1/M2 Mac terminals?</a></li></ul><pre># Switch terminal architecture type:<br>alias x86=&quot;$env /usr/bin/arch -x86_64 /bin/zsh ---login&quot;<br>alias arm=&quot;$env /usr/bin/arch -arm64 /bin/zsh ---login&quot;</pre><p>This will allow you to quickly change architecture runtimes in your processor between arm64 (native) and i386 (rosetta), like this:</p><pre>Last login: Wed Apr  5 10:23:46 on ttys000<br>(base) mtournier@ip-10-19-30-214 ~ % arch<br>i386<br>(base) mtournier@ip-10-19-30-214 ~ % arm<br>(base) mtournier@ip-10-19-30-214 ~ % arch<br>arm64<br>(base) mtournier@ip-10-19-30-214 ~ % x86<br>(base) mtournier@ip-10-19-30-214 ~ % arch<br>i386<br>(base) mtournier@ip-10-19-30-214 ~ %</pre><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=7609e51711fd" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Share alb acorss multiple ingress]]></title>
            <link>https://medium.com/@tomlee_91749/share-alb-acorss-multiple-ingress-f3c91a7a8ae3?source=rss-2017ff13134b------2</link>
            <guid isPermaLink="false">https://medium.com/p/f3c91a7a8ae3</guid>
            <dc:creator><![CDATA[Tom Lee]]></dc:creator>
            <pubDate>Sun, 17 Jan 2021 14:57:32 GMT</pubDate>
            <atom:updated>2021-01-17T14:57:32.593Z</atom:updated>
            <content:encoded><![CDATA[<p><a href="https://medium.com/devops-dudes/running-the-latest-aws-load-balancer-controller-in-your-aws-eks-cluster-9d59cdc1db98">Running the Latest AWS Load Balancer Controller in Your AWS EKS Cluster</a></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=f3c91a7a8ae3" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[aws-alb-ingress-controller is not production ready]]></title>
            <link>https://medium.com/@tomlee_91749/aws-alb-ingress-controller-is-not-production-ready-2b2f91d17ca0?source=rss-2017ff13134b------2</link>
            <guid isPermaLink="false">https://medium.com/p/2b2f91d17ca0</guid>
            <category><![CDATA[merged-ingress]]></category>
            <category><![CDATA[ingresscontroller]]></category>
            <category><![CDATA[kubernetes-sigs]]></category>
            <category><![CDATA[alb]]></category>
            <dc:creator><![CDATA[Tom Lee]]></dc:creator>
            <pubDate>Sat, 01 Aug 2020 18:31:54 GMT</pubDate>
            <atom:updated>2020-08-01T18:31:54.354Z</atom:updated>
            <content:encoded><![CDATA[<p>this is from kubernetes-sigs</p><p>cost is very high if it is micro service,</p><p>each service is required to be sepearted ALB</p><p>the cost will be very high</p><p>common solution is to make ALB reusuable</p><p>yet it is not an valid option</p><p><a href="https://github.com/kubernetes-sigs/aws-alb-ingress-controller/issues/298">Create option to reuse an existing ALB instead of creating a new ALB per Ingress · Issue #298 · kubernetes-sigs/aws-alb-ingress-controller</a></p><p>the only solution is</p><p><a href="https://github.com/jakubkulhan/ingress-merge">jakubkulhan/ingress-merge</a></p><p>this solution is use differnt url route in same alb</p><p>yet the url rewrite is not ready yet</p><p><a href="https://github.com/kubernetes-sigs/aws-alb-ingress-controller/issues/835">URL rewrite? · Issue #835 · kubernetes-sigs/aws-alb-ingress-controller</a></p><p>a lot of closed/reopend issues they dun have any plan to make it ready</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=2b2f91d17ca0" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[eksctl expect you not to use terraform?]]></title>
            <link>https://medium.com/@tomlee_91749/eksctl-expect-you-not-to-use-terraform-b02ab57ab3d9?source=rss-2017ff13134b------2</link>
            <guid isPermaLink="false">https://medium.com/p/b02ab57ab3d9</guid>
            <category><![CDATA[aws]]></category>
            <category><![CDATA[terraform]]></category>
            <category><![CDATA[eksctl]]></category>
            <dc:creator><![CDATA[Tom Lee]]></dc:creator>
            <pubDate>Mon, 27 Jul 2020 05:28:06 GMT</pubDate>
            <atom:updated>2020-07-27T05:28:06.938Z</atom:updated>
            <content:encoded><![CDATA[<p><a href="https://github.com/weaveworks/eksctl/issues/1930">No eksctl-managed CloudFormation stacks found error with AWS QuickStart template · Issue #1930 · weaveworks/eksctl</a></p><p>A lot of people uses Terraform as standard and you are saying to all the terraform users that they are out of luck. Do you realize the number of customers you are saying you do not care about and your tool is useless to them. Terraform is the leading IAC tool. What good is a tool if more than half of your potential user base cannot use it because of a design decision? I think just closing this and ignoring a large customer base is short sighted and foolish.</p><p>Today I ran into this- I’m using terraform as well, but the instructions for deploying an ALB Ingress Controller assume you’ve used eksctl. This command gives me an error-</p><p>it is very common to use terraform for IAC, man. AWS you made me feel very disappointed</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=b02ab57ab3d9" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Integration between Terraform and serverless/zappa]]></title>
            <link>https://medium.com/@tomlee_91749/integration-between-terraform-and-serverless-zappa-3dae3f270c21?source=rss-2017ff13134b------2</link>
            <guid isPermaLink="false">https://medium.com/p/3dae3f270c21</guid>
            <category><![CDATA[serverless]]></category>
            <category><![CDATA[terraform]]></category>
            <category><![CDATA[infrastructure-as-code]]></category>
            <dc:creator><![CDATA[Tom Lee]]></dc:creator>
            <pubDate>Sun, 18 Aug 2019 00:44:01 GMT</pubDate>
            <atom:updated>2019-09-02T03:15:08.000Z</atom:updated>
            <content:encoded><![CDATA[<p>First method: shared output json:</p><p><a href="https://medium.com/johnveldboom/deploy-terraform-serverless-framework-in-perfect-harmony-948ab6dcbc78">https://medium.com/johnveldboom/deploy-terraform-serverless-framework-in-perfect-harmony-948ab6dcbc78</a></p><p>Second method : shared ssm</p><p><a href="https://medium.com/swlh/integrating-the-serverless-framework-and-terraform-874215daa8bf">Integrating the Serverless Framework and Terraform</a></p><p><a href="https://www.keithrozario.com/2019/03/using-terraform-and-serverless-framework.html">https://www.keithrozario.com/2019/03/using-terraform-and-serverless-framework.html</a></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=3dae3f270c21" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Interview]]></title>
            <link>https://medium.com/series/interview-f234e3b96ace?source=rss-2017ff13134b------2</link>
            <guid isPermaLink="false">https://medium.com/p/f234e3b96ace</guid>
            <dc:creator><![CDATA[Tom Lee]]></dc:creator>
            <pubDate>Tue, 12 Feb 2019 05:40:07 GMT</pubDate>
            <atom:updated>2019-02-12T05:40:07.667Z</atom:updated>
            <content:encoded><![CDATA[<p>anything about technical interview</p><p></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=f234e3b96ace" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Amazon interview]]></title>
            <link>https://medium.com/@tomlee_91749/amazon-interview-b0f5d49ca839?source=rss-2017ff13134b------2</link>
            <guid isPermaLink="false">https://medium.com/p/b0f5d49ca839</guid>
            <category><![CDATA[interview-questions]]></category>
            <category><![CDATA[programming]]></category>
            <dc:creator><![CDATA[Tom Lee]]></dc:creator>
            <pubDate>Tue, 12 Feb 2019 05:37:11 GMT</pubDate>
            <atom:updated>2019-02-12T05:37:11.729Z</atom:updated>
            <content:encoded><![CDATA[<p>Data Structures:</p><p>§ Array</p><p>§ Linked List</p><p>§ Binary Tree, Binary Search Tree, Red-Black Tree</p><p>§ Heap</p><p>§ Hash Table</p><p>§ Stack</p><p>§ Queue</p><p>§ Trie</p><p>§ Graph (both directed and undirected)</p><p>Algorithms:</p><p><strong>Sorting</strong></p><p>§ Bubble Sort</p><p>§ Merge Sort</p><p>§ Quick Sort</p><p>§ Radix/Bucket Sort</p><p><strong>Traversals </strong>(On multiple data s<strong>t</strong>ructures)</p><p>§ Depth First Search</p><p>§ Breadth First Search</p><p>Object Oriented Design:</p><p>You should have a working knowledge of a few common and useful design patterns (singleton, factory, adapter, bridge, visitor, command, proxy, observer, etc.) as well as know how to write software in an object oriented way with appropriate use of inheritance and aggregation.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=b0f5d49ca839" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[hxven network interview]]></title>
            <link>https://medium.com/@tomlee_91749/hxven-network-interview-247d7f92344a?source=rss-2017ff13134b------2</link>
            <guid isPermaLink="false">https://medium.com/p/247d7f92344a</guid>
            <category><![CDATA[interview-questions]]></category>
            <category><![CDATA[javascript]]></category>
            <dc:creator><![CDATA[Tom Lee]]></dc:creator>
            <pubDate>Fri, 16 Nov 2018 06:41:04 GMT</pubDate>
            <atom:updated>2018-11-16T06:41:04.273Z</atom:updated>
            <content:encoded><![CDATA[<p>hxven network interview</p><p>find the greatest index of repeated number in an input array, else return -1</p><p>getLast = (input)=&gt; {<br> <br> counter = {};<br> <br> for (let i = 0; i &lt; input.length; i++) {<br> const index = i;<br> if (counter[input[i]]) {<br> counter[ input[i]] = { <br> count: counter[input[i]].count + 1,<br> lastIndex: i,<br> };<br> } else {<br> counter[ input[i]] = { <br> count: 1,<br> lastIndex: i,<br> };<br> }<br> }<br> <br> <br> console.log(counter);<br> let result = -1;<br> for (k in counter) {<br> if (counter[k].count &gt; 1 &amp;&amp; counter[k].lastIndex &gt; result){<br> result = counter[k].lastIndex;<br> }<br> }<br> <br> return result;<br>}`</p><p>other question:</p><p>foo= [1,2] . foo[8] =1 ; foo.legnth = ?</p><p>difference between undefinied and null?</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=247d7f92344a" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[enable public internet when using vpc lambda]]></title>
            <link>https://medium.com/@tomlee_91749/enable-public-internet-when-using-vpc-lambda-e8d9557481ec?source=rss-2017ff13134b------2</link>
            <guid isPermaLink="false">https://medium.com/p/e8d9557481ec</guid>
            <category><![CDATA[vpc]]></category>
            <category><![CDATA[nat]]></category>
            <category><![CDATA[aws]]></category>
            <category><![CDATA[lambda]]></category>
            <dc:creator><![CDATA[Tom Lee]]></dc:creator>
            <pubDate>Sun, 07 Oct 2018 09:25:39 GMT</pubDate>
            <atom:updated>2018-10-07T09:25:39.979Z</atom:updated>
            <content:encoded><![CDATA[<ul><li><a href="https://medium.com/@philippholly/aws-lambda-enable-outgoing-internet-access-within-vpc-8dd250e11e12">AWS Lambda: Enable Outgoing Internet Access within VPC</a></li><li><a href="https://medium.com/tomincode/putting-your-lambda-in-a-vpc-efb80695b32">Putting Your Lambda In A VPC</a></li></ul><p>I hope aws could provide better tutorial like above.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=e8d9557481ec" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Klarna interview]]></title>
            <link>https://medium.com/@tomlee_91749/klarna-interview-970bbb5bf430?source=rss-2017ff13134b------2</link>
            <guid isPermaLink="false">https://medium.com/p/970bbb5bf430</guid>
            <category><![CDATA[klarna]]></category>
            <category><![CDATA[software-engineer]]></category>
            <category><![CDATA[sketchboard]]></category>
            <category><![CDATA[interview]]></category>
            <dc:creator><![CDATA[Tom Lee]]></dc:creator>
            <pubDate>Sun, 23 Sep 2018 19:17:13 GMT</pubDate>
            <atom:updated>2018-09-23T19:24:10.481Z</atom:updated>
            <content:encoded><![CDATA[<p><a href="https://news.ycombinator.com/item?id=9987544">How to Reject Engineering Candidates | Hacker News</a></p><p>failed in 4th round.</p><p>description:</p><p>Architecture<br>In this first portion of the interview, we will ask you to create and iterate on a design<br>for this system. As we introduce new requirements, the design will evolve.<br>During the interview we will use <a href="https://sketchboard.me/">https://sketchboard.me/</a> to sketch the problem<br>and solution. You will receive a unique link prior to the interview. In the meantime,<br>please play around with sketchboard to get familiarized with its functionality and<br>features.<br>Tip: Keep it simple!<br>Coding<br>Some time before your interview, we will send you a small but fully functional<br>project. To save time, we ask that you please make sure you are able to run the<br>project before the interview. If you have any issues, get back to the person that sent<br>you the project, and we will help you out.</p><p>During the interview, we will work together to add some additional functionality to<br>this project.<br>Tip: The project may not be a real product, but we still want it to be production<br>ready.</p><p>Both are quite difficult to me. sketchboard part requirement is very unclear. the expectation is more than this. and I think this is not <strong>simple</strong>. What is the meaning of keep it simple? I think answering vague question is not easy.</p><p><a href="https://www.susanjfowler.com/blog/2016/10/7/the-architecture-interview">The Architecture Interview - Susan Fowler</a></p><p>coding part require exp in TDD, protocol. TDD is my weakness part which is trivial when you work in Hong Kong.</p><p>good experience anyway. but the interviewer needs to make better descriptions for the tasks. And I should prepare better for handling vague questions: keep ask proper questions for clarifications</p><p>Todo:</p><p><a href="https://www.facebook.com/careers/life/preparing-for-your-software-engineering-interview-at-facebook/">https://www.facebook.com/careers/life/preparing-for-your-software-engineering-interview-at-facebook/</a></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=970bbb5bf430" width="1" height="1" alt="">]]></content:encoded>
        </item>
    </channel>
</rss>