HNHacker News
TopNewBestAskShowJobs

eric_khun

1,080 karma · joined November 13, 2013

x: @eric_khun blog: erickhun.com
submissionscomments
eric_khun··on Has Google Translate been fixed yet?
I now use chatGPT for translating english to traditional Chinese and give me some variations. Definitely works better than Google translate.

For example for "I want to build a good gym routine":

我想建立一個良好的健身計畫。 Wǒ xiǎng jiànlì yīgè liánghǎo de jiànshēn jìhuà.

Here are some variations of the sentence along with their English translations: 我想制定一套有效的健身計劃。 Wǒ xiǎng zhìdìng yī tào yǒuxiào de jiànshēn jìhuà. I want to create an effective workout plan.

我希望安排一個健康的健身日程。 Wǒ xīwàng ānpái yīgè jiànkāng de jiànshēn rìchéng. I hope to set up a healthy fitness schedule.

ps: I am building an app to make learning chinese easier. Feel free to ping me privately for testing :)

eric_khun··on Ask HN: What has your personal website/blog done for you?
I live in Taiwan and try to run some beach volleyball games. It's not common here, and not easy to find players. Writing this article[1] helped me to recruit constantly new players (it ranks 1st/2nd in Google).

Sometimes I write about things I want people know about Taiwan like their bike-sharing system[2], semiconductors[3], or simply good food in Taiwan[4].

Sometimes, I write about tech stuff, like kubernetes cpu limits[5] or blockchain consensus[6].

I thought about focusing in a single topic, but when people reaches me out, like today[7] about my food post, it reminds me that it is fine, and make me quite happy that I helped one soul out there.

[1] https://erickhun.com/posts/volleyball-and-beach-volleyball-i...

[2] https://erickhun.com/posts/taiwan-youbike-bike-sharing/

[3] https://erickhun.com/posts/world-innovation-taiwan-semicondu...

[4] https://erickhun.com/posts/taipei-restaurants/

[5] https://erickhun.com/posts/kubernetes-faster-services-no-cpu...

[6] https://erickhun.com/posts/explaining-blockchains-to-develop...

[7] https://imgur.com/a/m06CQYd

eric_khun··on Launch HN: Moonrepo (YC W23) – Open-source build system
We've started using Rush [1] at Buffer. Teams have been slowly migrating, and it has been great so far. We had (too many) repos with their own workflow and way too many different ways to build services, which has been annoying to maintain. I know teams use Rush at scale: Tiktok has ~450 projects, and Microsoft said they have ~700 projects.

To deploy the services locally, we use Tilt[2] (K8s for local). We want to be able to reproduce production as much as possible and remove developer overhead on how things work locally and in production.

Then come the issues with Docker and large node code bases:

1 challenge with large monorepos is the huge node_modules folder (rush among other tools put packages into a single large node_modules folder, and symlink every dependency there. It can contain millions of files and GBs, depending on how many 3rd-party libraries you use). On Linux, you can mount it without issues, but Mac has performance issues[3] with large folders.

We pre-build that huge node_modules into a "base" image, and each service in the monorepo pulls that base image and only mounts what's necessary (a few mb). So we can save that npm build time and don't need to copy all those files inside the containers. It is fine because package.json does not change that often. You need to do this pre-build locally then in your CI/CD -> dockerhub, so everyone can get it.

Another challenge is that you need to "watch" files to rebuild them. Watching all your files inside the monorepo isn't really viable. We use a dependency graph to know what services to watch and then copy the built files inside the Tilt containers.

Hope this can help people.

[1] https://rushjs.io

[2] https://tilt.dev/

[3] https://github.com/docker/roadmap/issues/7

eric_khun··on Ask HN: Anyone free to meetup in Tokyo on Xmas?
Hey! we did 2 events in Taipei in 2022 w/ 30-40 ish people attending each time. We will try to keep it running regularly in 2023. Happy to join force if you want to help making it happen more regularly!

https://www.eventbrite.com/e/taipei-hacker-news-meetup-1-tic...

https://www.eventbrite.com/e/taipei-hackernews-meetup-2-with...

eric_khun··on Tell HN: HN London Meetup
We have started a sucessful one in Taipei, Taiwan a few months ago [1] with 40+ hackers.

If folks here interested into an other one, reach me out or reply here.

[1] https://www.eventbrite.com/e/taipei-hacker-news-meetup-1-tic...

eric_khun··on Docker Compose best practices for dev and prod
Running Kubernetes in production, we've also decided to adopt tilt and get rid of Docker compose. Our own tooling with docker compose has been to painful to maintain, and there was too many workaround to try to replicate what we have in production.
eric_khun··on Learning K Programming, Idiom by Idiom (2019) [pdf]
https://nsl.com/k/training/idioms_K3.pdf
eric_khun··on Ask HN: Any weird tips for weight loss?
There is no magic: your body needs to burn more than what you eat. I think those advices are fairly "easy" to implement:

- eat less - intermittent fasting is easy: just skip 1 meal, everyday, make sure to have 16hours fast. For me 1 skip breakfast.

- drink water, coffee, tea when you want to eat during the fasting time , or want to snack. If you really need to snack, eat nuts.

- stop any soda and fruit juice - they have so much calorie and sugar into it... drink water, tea or coffee instead.

- workout / do any sport, at least 3 times a week, at least 1 hour session each.

- you gym needs to be at 5 minutes reach so you can't make any excuses.

- gym can be boring, try a new sport you can stick with. I usually do volleyball and go to gym, but willing to go to hikes or bouldering with friends from time to time.

eric_khun··on Show HN: World’s first £3 flat fee (0% FX markup) money transfer service
Any plan for TWD? It's a real challenge to transfer USD or Euro to TWD. Fees are crazy high. I can hook you up with the foreigners community, probably 100+ beta testers
eric_khun··on A Graduate Course in Applied Cryptography
loved the book, thanks for writing it
eric_khun··on Intermittent fasting in mice improves long-term memory retention
David Sinclair (author of Lifespan) talking about Intermittent fasting benefits: https://youtu.be/jhKZIq3SlYE?t=2939
eric_khun··on How I Experience Web Today
is there a way to block those GDPR popups?
eric_khun··on What daily sources do you read, except HN?
ft.com and economist.com
eric_khun··on Show HN: Lofi.cafe
Nice! An other similar project I really like from another show hn[1] is https://lofimusic.app

[1] https://news.ycombinator.com/item?id=24476641

eric_khun··on Ask HN: Who is hiring? (April 2021)
Buffer | Full Stack and devOps engineers | Remote (anywhere) | Full Time

We are currently hiring for:

  * Full Stack Engineers (TypeScript, JavaScript, React, Node, PHP)
  * Frontend Engineer (HTML, CSS, JavaScript, Next, React)
  * Infrastructure/Devops Engineer ( Docker / Kubernetes / Python / Node / Mongo / AWS )
Our perks:

  * we put people first, and we mean it (check https://open.buffer.com)
  * 4 days work week
  * unlimited books (physical or kindle)
  * full remote from anywhere (is that a perk now? - but we’re the first ones)
  * minimum holiday policy (we know unlimited holiday doesn’t work)
  * healthcare covered, no matter where you live
  * cafe in coffee shops / or co-working space covered
More details here : https://journey.buffer.com/#vacancies

Salary: https://buffer.com/resources/compensation-philosophy/

Our culture: https://open.buffer.com/

eric_khun··on TSMC at the head of history’s tide: two high walls and one sharp knife
You should check the Taiwan Gold Card1[1] visa that gives you a resident permit for 3 years. It is quite easy to get, just earn more than usd5.5k/month at your last/current job, or work in a "trendy" field (AI/big data/energy/biotech...). Happy to reply to any questions

[1] https://taiwangoldcard.com

eric_khun··on Ask HN: Who is hiring? (February 2021)
Buffer | Full Stack and devOps engineers | Remote (anywhere) | Full Time

Buffer is an equal opportunity employer with teammates all around the world. Our team is made up of individuals who hail from startups to the theatre - we value diverse and non-traditional backgrounds, and encourage all those who are interested in joining the journey to apply.

We try to be “No Ego Doers” who are aware of our assumptions, and joining us means you'll work together with the team in order to test and confirm our ideas. In our career framework, we choose to focus on the journey, the growth and evolution that is a career.

Technologies we use:

  * TypeScript + JavaScript + React
  * PHP, NodeJS, python
  * MongoDB
  * AWS 
  * Docker + Kubernetes
We are currently hiring for:

  * Full Stack Engineer (Product)
  * Full Stack Engineer (Internal Tools)
  * Infrastructure/Devops Engineer
Our perks:

  * Positive team (no kidding)
  * we care about our employees (yes it's true)
  * Competitive salary: Our salary formula adjusts to your cost of living and experience.
  * Work remotely (globally): Live and work anywhere in the world!
  * Health insurance
  * Home office setup
  * Growth mindset fund
  * Minimum vacation: At least 3 weeks/year, with no upper limit.
Why you should apply: https://open.buffer.com/

Apply here : https://journey.buffer.com/#vacancies

eric_khun··on My 2 Year Journey to $10K MRR
We're hiring engineers and an EM btw ;)

https://journey.buffer.com/#vacancies

eric_khun··on Problems with AI-based monitoring startups (2018)
Datadog works really well for us. Their "watchdog" feature , that monitor every metric you send to them, based on anomaly detection, helped us to uncover many issues, with a low % of false positives.

Kudos to their AI team (but yeah, Datadog is hella expensive)

eric_khun··on Jim Keller moves to AI chip startup
You can have a sense of how it would be to work with him in this interview with Lex Fridman[1]. I'm also curious how it would be to work with him since it sounds like he is full of himself[3]. But he I believe he has the right for it since all what he has achieved[3]. The guy also read couple books a week[4] for last decades

[1] https://www.youtube.com/watch?v=Nb2tebYAaOA

[2] https://www.youtube.com/watch?v=Nb2tebYAaOA&t=3973s

[3] https://en.wikipedia.org/wiki/Jim_Keller_(engineer)

[4] https://www.youtube.com/watch?v=Nb2tebYAaOA&t=5040s

eric_khun··on Bringing civic tech to Taiwan's coronavirus pandemic response [audio]
Something I really enjoy at Taiwan is the bike sharing system they've put all around the country. Liking it at a point where I've wrote an essaye about it[1]. It's cheap, everywhere, and built on a really high standard

[1] https://erickhun.com/posts/taiwan-youbike-bike-sharing/

eric_khun··on Eagle Cash
Yes not only bus or metro, but almost everything. Taiwan put a considerable amount of effort to have a 1 card to rule them all. And it makes life so much easier[1]

[1] https://erickhun.com/posts/taiwan-youbike-bike-sharing/

eric_khun··on EU Signs €145B Declaration to Develop Next Gen Processors and 2nm Technology
The world starts realising all the processors that everyone depends on is mainly from Taiwan. I just wrote an article[1] about the importance of processors and talking about key players such that help the semis industry such ASML, and why it's not that simple to get into the game. . It's not as easy as pouring money into some companies. Sourcing trusted partners + years (decades?) of R&D might be needed to achieve what TSMC did in Taiwan

[1] https://erickhun.com/posts/world-innovation-taiwan-semicondu...

eric_khun··on Google outage – resolved
If you pay for Google Services, they have an SLA (service level agreement) of 99.9% [1]. If their services are down more than 43 minutes this month[2], you can request “free days” of usage.

Edit: Services were down from ~12:55pm to ~1:52pm, it's 57minutes. Thanks hiby007

[1] https://workspace.google.com/intl/en/terms/sla.html

[2] https://en.wikipedia.org/wiki/High_availability#Percentage_c...

eric_khun··on A better Kubernetes from the ground up
I'm curious about your practises regarding CPU Limits at Stripe. Do you noticed severe CPU throttling? What's your guidelines on this?
eric_khun··on Koyeb Serverless Engine: Docker Containers, Continuous Deployment of Functions
As I understand it, you can define a docker image, and run your function in it?
eric_khun··on Gitlab compensation calculator is not open to everyone anymore
When talking to friends making almost double what I'm doing in California, I end up making more after tax.

Added to that, I pay a lot less for rent, food, and entertainment, and I have the freedom to move anywhere I want.

eric_khun··on Gitlab compensation calculator is not open to everyone anymore
We have an open salary calculator[1]. This is how we've decided how to calculate salary in a totally remote setup[2]

[1] https://buffer.com/salary/

[2] https://buffer.com/resources/salary-formula-changes-2019/

eric_khun··on Show HN: Lofimusic.app, an open source Background Music Progressive Web App
Looks like a Pull request for the volume control was created[1]. Hopefully the author will merge it soon. Internet is awesome

[1] https://github.com/maxence-charriere/lofimusic/pull/3

eric_khun··on Level 3 Global Outage
Currently working on a project[1] to monitor all the 3rd party stack you use for your services. Hit me up if you want, access I'll give free access for a year+ to some folks to get feedbacks.

[1] https://monitory.io

← PreviousPage 2 of 5Next →