HNHacker News
TopNewBestAskShowJobs

terenceng2010

129 karma · joined January 16, 2017

submissionscomments
terenceng2010··on Ask HN: Any scientifically proven techniques to boost concentration?
Some moderate physical exercises do help but I also find that cooking helps me to be more relaxed after a day of coding work. Maybe because it needs a totally differnt kind of focus like chopping and much more (actual)hands-on which mean my coding brain can be shutdown afterwards.
terenceng2010··on Ask HN: Why is machine learning easier to learn than basic social skills?
Able to contribute to ML is already better than many of us, so congrats and don't downplay it.

As a general rule of thumb, I would say just be yourself, be good to others in general and there's no rush for it (some people would choose to like or not like you, and it's totally fine). It takes time (~10+ year) to be mature.

When I was your age, I have no clue too other than just finishing my first public exam. I happened to work for a community center to promote the usage of Internet as a summer job. That job transforms me to be more confident in front of people as I need to face people in different walk of lives. It's a good starting point as I can use my computer skill as a stepping stone.

terenceng2010··on The Return of Fancy Tools
I probably won't pick CS as my undergrad study if I haven't used dreamweaver to create website for my classmate when I was just 12 years old (hand-type html, css is a bit much for me that time. And Dw allows your to set hyperlink, an on hover event easily, js is hard to grasp for me that time ) .

So I always think it's good to have a low barrier for people to get in.

terenceng2010··on The digital natives are not who you think they are
I kind of miss the day when everyone is chatting on the phone and ICQ, MSN and you need to be in a certain time for certain people. Nowadays, my brother who is a digital native just chat with his friends all day long with Discord, which is something that I just can never do.
terenceng2010··on Ask NH: Where to go from Front end Development?
Try to get into a role that needs to gather user requirements or doing some system design or coordinate your team member(scrum master) maybe? No job is 100% engaging all the time though and I think if your current work env. is stable, figuring out some new interests are a way too.
terenceng2010··on Objection to ORM Hatred
I use dapper with a plugin called dapper.simplecrud (https://github.com/ericdc1/Dapper.SimpleCRUD). This already helps to reduce the need to write simple SQL code repeatedly quite a lot. When doing SQL operations more complicated than a simple crud, I resort to raw SQL or stored procedure.
terenceng2010··on A tale of webpage speed, or throwing away React
In the article though he does not mention whether React with SSR is an option?
terenceng2010··on Hong Kong media tycoon Jimmy Lai arrested under national security law
Some professions like teacher are tough to find a similar role in other country. Different qualication, teaching language and teaching method they have to accomendate. It's a tough call to them.

For IT profession though, it's more flexible. Personally, I have worked in a multi-nation develop team, and the experience is good.

terenceng2010··on The Passport Payment (2000)
Try to go passport.com nowadays. It redirects you to Bing and search "passport" as result. Handy.
terenceng2010··on TikTok to pull out of Hong Kong
Some speculates it's just the first wave to ban worldwide social networks like Facebook, Twitter, YouTube.
terenceng2010··on Brython – A Python 3 implementation for client-side web programming
>> write c# in browser

It is happening but with WebAssembly.

https://dotnet.microsoft.com/apps/aspnet/web-apps/blazor

terenceng2010··on Hong Kong: books by pro-democracy activists disappear from library shelves
It's worth to mention that some of these books have been published quite some years already (>5 years) , and their viewpoint for democracy is rather mild too. That's why they can be on the bookshelf in the first place.
terenceng2010··on Show HN: Global sailing navigation simulator using real weather/ocean data
The race map seem only keep the race start and current boat position. It would be better if the whole historical locations of the boat are kept and drawn on the map. Otherwise, nice!
terenceng2010··on U.K. Plans Citizenship for Hong Kong Residents in Row with China
Maybe the exploit is about:

The nationality of HongKonger was the same as other UK citizen at the time called CUKC. For other UK ex-colony, they usually had a independent election to be an independent country or so, and these countries do not have the UK nationality anymore. But HKers never had such election taken place.

terenceng2010··on What I wish I knew about React
But if one would lile to write in jsx, which is the default in react, the doc still guide you to use a preprocessor for production.
terenceng2010··on What I wish I knew about React
Done that. My manager finds it so good when he can hot-fix issue.

Just that some third party plugins are written in es6, it would be cumbersome if you need to support ie11 in a enterprise setting.

Also if you have quite a lot of vue components to load, it would take longer time than compile first with webpack in http1.

terenceng2010··on Interview with German Ventilator Manufacturer
It can be DIYed. https://diymask.site/ Not perfect but any protection would be good.
terenceng2010··on LICEcap: Simple Animated Screen Captures
Nice Capture?
terenceng2010··on Illustrated Jq Tutorial
There is a specific requirement to trigger that. Not sure whether desktop and Android Firefox is using the same criteria though. (https://stackoverflow.com/questions/30661650/how-does-firefo...)

edit: the article does not have <p> tag. so reader view is not triggered.

terenceng2010··on The future of design tools
I miss fireworks so much as a middle school student. With it and dreamweaver, I can create website for my class before I learn any programming at all. They are so easy to use!
terenceng2010··on Herd Immunity
Herd immunity is the end-game scenario. All other measures should be done to decrease the infection speed to prevent the health system from melting down.
terenceng2010··on Self-Hosted Chat for Small Teams
How is the performance so far? As MeteorJS, which rocketchat based on, has it’s own protocol for two-way communication.
terenceng2010··on My Thoughts About the Coronavirus: Ray Dalio
Even a non-surgical or home-made mask is better than no mask at all.
terenceng2010··on Ask HN: How to find work while homeless?
There are some non-technical online jobs from Appen or Lionbridge that should give you some stable income each month (at max about 100~200USD per month). These jobs usually require you to work from 10~20 hours per week. Besides, there are websites like utest (do testing) and clickworker(microtask), which doesn't have stable income but at the same time much less commitment.
terenceng2010··on Tailwind UI
This feature makes it a very progressive library for various stages of development. Inline earlier, then gradually extracting the style for reuse in later stage. Besides, their documentation is really good for one to learn those newer css concept.
terenceng2010··on Coronavirus Death Toll Rises to 805, Passing SARS
The test may also return a false negative. There is a case that a patient is identified after 4 tests.

https://www.worldofbuzz.com/wuhan-patient-tests-negative-4-t...

terenceng2010··on Microsoft has removed the “use offline account” option when installing Windows
Windows 8’s windows update is always quick and doesn’t interrupt your work for a long period. The only usability issue on it is the start screen, which can be fixed by installing the classic shell.
terenceng2010··on Microsoft has removed the “use offline account” option when installing Windows
I will stick with my windows 8.1 in my i5 third gen machine as late as possible, until either the support ends or the computer needs to be retired.
terenceng2010··on The Essential Tool for Hong Kong Protesters? An Umbrella
One thing I learnt from playing walking dead - the game is that citizen will remember your decision.

New york time has the 1967 riot covered by interviewing a old lady in her 90s. And I think she mentioned a good point, is that power leads to corruption. So in general, how democracy work, how tools like tech like Telegram may lead to a leader-less way of governence, is quite interesting.

https://cn.nytimes.com/china/20190920/hongkong-north-point-1... (not sure if english version is available)

terenceng2010··on The Essential Tool for Hong Kong Protesters? An Umbrella
Following the Be water thinking, ppl start to have no specific items or clothes to represent themselves now. So the essential tool would be the determination to live in this city with courage, hope, dignity and helping each other in a crisis created by no one but the government.

This government has lost all its credibility within a hundred day, which is impressive in a way I guess? I don’t think HK will be totally recovered when CCP continues to intervene. The damage has be made, and the scar will always be there.

Page 1 of 2Next →