Thomas Chia

310 posts

Thomas Chia banner
Thomas Chia

Thomas Chia

@th__chia

Technologist | Startups | Serverless | JAMstack | Singapore | Yes I wear a lot of white t shirts, I have several for hygiene reasons.

Singapore Katılım Eylül 2016
153 Takip Edilen130 Takipçiler
Thomas Chia
Thomas Chia@th__chia·
@mattpocockuk @getTobiasN @jfhector fp-ts’ approach is to catch as deeply as possible and return a typed error (that you define) instead. A number of its modules have a .tryCatch method to facilitate this.
English
0
0
0
76
Matt Pocock
Matt Pocock@mattpocockuk·
@getTobiasN @jfhector Yep, that's what I'm interested in - if there's any abstraction which can robustly guarantee that my errors are of a certain shape.
English
8
0
0
1.8K
Matt Pocock
Matt Pocock@mattpocockuk·
Want Rust-style 'Result' errors in TypeScript? Follow these 4 steps:
Matt Pocock tweet mediaMatt Pocock tweet mediaMatt Pocock tweet mediaMatt Pocock tweet media
English
51
151
1.3K
194.5K
Thomas Chia
Thomas Chia@th__chia·
@GergelyOrosz I like this approach, but its effectiveness relies on accepting that you may realise in a few weeks/months that it wasn’t the right fit, and having a way to deal with that.
English
0
0
0
0
Gergely Orosz
Gergely Orosz@GergelyOrosz·
Of course, everything has tradeoffs. No coding during the interview means more emphasis on past achievements and resume, and leaning more on referrals. It also means a lot more "hands-on" trial period. It's all about tradeoffs with hiring, always.
English
15
3
270
0
Gergely Orosz
Gergely Orosz@GergelyOrosz·
From a startup CTO: "Now that offering full-remote work is no longer a big differentiator for hiring, I wonder what the next big differentiator can be for smaller companies like us." They ended up betting on a simple hiring process with no coding exercise for senior engineers.
English
72
133
1.8K
0
Thomas Chia
Thomas Chia@th__chia·
@sarah_federman Guess I’m unpopular too! In general, I’d rather work with average people aligned around business/shared goals than exceptional people aligned only around their personal goals.
English
0
0
0
0
Sarah Federman
Sarah Federman@sarah_federman·
Unpopular opinion but I would rather work with an average designer who understands the medium and is a pro at working with devs to ship than someone who creates exceptional work that takes twice the amount of effort for everyone else on the team to get shipped
English
9
20
276
0
Thomas Chia
Thomas Chia@th__chia·
@housecor I also do this when users can update the page (e.g. comments) and I want their update to participate in SEO.
English
0
0
1
0
Cory House
Cory House@housecor·
3. Server-side rendering (SSR) I use this when: - The page shows different content for each user - I want to render it on the server for better performance and SEO Example: Bank account page
English
5
0
25
0
Cory House
Cory House@housecor·
4 options for rendering in @nextjs: 1. Static Site Generation (SSG) 2. Incremental Static Generation (ISG) 3. Server-side Rendering (SSR) 4. Client-side rendering (CSR) Here's how I pick between these options. 👇 🧵
English
12
77
425
0
Thomas Chia
Thomas Chia@th__chia·
@nedlowe82 Ban meetings which comprise someone reading their slides pretty much verbatim to everyone it’s not primary school.
English
0
0
2
0
Ned Lowe
Ned Lowe@nedlowe82·
For every meeting ask “Can this be an email?”. For every email ask “Can this be a Slack message?”. For every Slack message ask “Can this be a yes/no question?”. For every yes/no question ask “Can this be a ‘object or I’m going to’?“. Cascade through that each time. #productivity
English
1
0
1
0
Thomas Chia
Thomas Chia@th__chia·
@wgao19 I think I did something similar to manage multiple modal/dialog type elements on screen.
English
0
0
0
0
ᴡᴇɪ ✐
ᴡᴇɪ ✐@wgao19·
used this pattern in my code today, put a stateful variable + setter function in a Context wrapping the parent component, and have children notify parent on its mounting particularly like the fine-tuned boundary it provides youtu.be/O1JCHV7xonQ
YouTube video
YouTube
English
2
0
2
0
qian 🌺
qian 🌺@qiannyqian·
computer science, data structures and algorithms are hard :( signed, a coding bootcamp graduate
English
6
0
10
0
Thomas Chia retweetledi
Jared Palmer
Jared Palmer@jaredpalmer·
"Our design software has seamless developer handoff"
English
46
1.2K
5.1K
0
Thomas Chia retweetledi
swyx
swyx@swyx·
⚛️📜 React ecosystem libraries that have rewritten their core to @TypeScript (not just offering TypeScript support): ✅Next.js ✅@ReactNative CLI ✅React Router ✅@expo ✅Redux ✅@Yarnpkg@fbjest@storybookjs@apollographql 🔜@Gatsbyjs@Reactjs #misc-migration-stories-by-notable-companies-and-open-source" target="_blank" rel="nofollow noopener">…act-typescript-cheatsheet.netlify.app/docs/migration…
English
15
107
489
0
qian 🌺
qian 🌺@qiannyqian·
MY CHAIR HAS ARRIVED wow that was FAST
qian 🌺 tweet media
English
1
0
8
0
qian 🌺
qian 🌺@qiannyqian·
finally caved and ordered myself a semi-decent chair to work on I might be broke but at least I won't have butt pains from continuously coding on this dining chair fml
English
2
0
7
0
qian 🌺
qian 🌺@qiannyqian·
All I need is for my laptop stand to arrive and my desk will be complete (for now)!
qian 🌺 tweet media
English
5
0
16
0
Thomas Chia retweetledi
Ravin
Ravin@ravinwashere·
#javascript quiz 🏆 What's the output of the code? Do you know the answer? Seeing your comments makes me happy. So please drop a comment and let me know your answer! #100DaysOfCode #freeCodeCamp
Ravin tweet media
English
146
77
436
0
Thomas Chia
Thomas Chia@th__chia·
@giacomocerquone I have tried this and it’s possible. You’ll need to write a binding between the store subscription and your UI though.
English
0
0
1
0
Giacomo Cerquone
Giacomo Cerquone@giacomocerquone·
Could a single instance of #redux (or any other state management library) be the bridge in a communication between vanilla js and a react app? I'm trying to port a #Wordpress #jquery based app to #react and I'm encountering many difficulties and uncertainties. Is aknown practice?
English
4
1
1
0
Thomas Chia retweetledi
Michael Hartl
Michael Hartl@mhartl·
“Those who prepared themselves for the End Times always knew the Four Horsemen would appear in terrifying form, but even they weren’t prepared for this.”
Michael Hartl tweet media
English
4
21
87
0
Thomas Chia retweetledi
Alex DeBrie
Alex DeBrie@alexbdebrie·
*deep breath* Just sent the email to officially announce that The DynamoDB Book will be released April 7th (one week from today!) 💥 I'll be updating the landing page with packaging, etc. over the next few days but sign up for updates here --> dynamodbbook.com
English
18
48
251
0
Thomas Chia retweetledi
GitHub
GitHub@github·
GitHub Mobile is officially leaving beta and entering general availability today. Learn more and download: github.com/mobile/
English
168
2.8K
6.5K
0
Chee Aun 🤔
Chee Aun 🤔@cheeaun·
It’s amazing that so many folks are still quite unskilled in presentation slides design, even when it’s part of their job to present all the time.
English
9
1
9
0