86 karma · joined Jul 8, 2015 (11y ago) · 54 submissions
comment 3y ago · link · parent
Regardless where you are, removable battery is a huge fire hazard. News about devastating fires caused by e-bikes batteries shows up from time to time. In China, It's common to see posters advocating for the storage of e-bikes outside building.
So don't store it in your home.
comment 3y ago · link · parent
https://www.businessinsider.com/couple-canada-reportedly-los...
comment 3y ago · link · parent
* https://github.com/docker/awesome-compose
* https://github.com/PostHog/posthog
* https://github.com/growthbook/growthbook
* https://github.com/fleetdm/fleet
Supposedly, One can search github using `language:typescript filename:docker-compose.yml stars:>1000` but it's not working for me somehow.
comment 3y ago · link · parent
There are a lot of dockerfile / compose examples on github.
* https://github.com/docker/awesome-compose * https://github.com/jessfraz/dockerfiles
8.
Vimium has been disabled on Mozilla addons site due to major security risk(github.com ↗)
3 points · by perlwle · 3y ago · 1 comment
comment 3y ago · link · parent
The db file on my Mac is shared with iCloud and is acted as the master file. All updates happen on the mac and the rest of the clients just sync and do read only. It has been working well.
All my website passwords are saved in firefox account so I rarely need to update the db file.
comment 4y ago · link · parent
For the last week, I have been playing with Neovim in spare time using a setup based on https://github.com/LunarVim/nvim-basic-ide It does pinning plug-in too.
It's working well for small projects so far.
comment 4y ago · link · parent
Most podcast feeds only include last ~100 episodes. Podcasts such as Planet Money and Radio Lab have more than 1000 episodes in total.
Manually combining the feeds is too time consuming and I enjoy building this tool.
comment 4y ago · link · parent
> Among healthy individuals, there is a continuum of risk for alcohol-related harms whereby the risk is: > • Negligible to low for individuals who consume two standard drinks or less per week; > • Moderate for those who consume between three and six standard drinks per week; and > • Increasingly high for those who consume more than six standard drinks per week.
standard drink is the equivalent of a bottle of beer (12 oz., 341 ml, 5% alcohol) read more on the old report [2]
I know I will watch my beer intake more closely now.
[1] https://ccsa.ca/update-canadas-low-risk-alcohol-drinking-gui... [2] https://www.canada.ca/en/health-canada/services/substance-us...
comment 4y ago · link · parent
I have heard some companies hide the truth of relocating to another city and announce it right before the move. As employee, you either move with the company or find a new job.
It's probably better to build a team in the new location then announce the move in advance. It will be a shock either way.
comment 4y ago · link · parent
Helped me get started with API design in my early career. Learning from other existing APIs helps too. such as stripe, github, shopify. Any others?
Something that We do at my current job:
* set a standard and stick with it. tweak it if needed. we even have naming standard on some of the json key. for example, use XXX_count for counting. when it doesn't make sense, use total_XXX.
* Document your API, we use postman and code review API changes too.
comment 4y ago · link · parent
It is rather the opposite based on mirantis latest blog post on Swarm https://www.mirantis.com/blog/docker-swarm-webinar-qa-long-l...
> It all stems from when Mirantis first acquired the Docker Enterprise business two years ago, they put out a blog saying, “We’re gonna support Swarm for at least two more years and we’re gonna take that time to kind of see what the need is, what the market dictates…”
> Unfortunately, some third parties took that and said, “Oh, they’re only going to support it for two years and then they’re going to sunset it.” That’s not true at all. This is important to us and to our future direction. We continue to invest in it and we have lots of large enterprise customers using Swarm in production at scale.
comment 5y ago · link · parent
I am used to work in Linux OS VM(Virtualbox and Vagrant in MacOS) and do most PHP/Python web development. It seems that Virtualbox won't be supported and There is only one Linux VM option available [UTM](https://github.com/utmapp/UTM)
I would hate to invest too much time for a new dev environment just for M1. How's your experience?
comment 5y ago · link · parent
> If you're shopping at the local corner store or restaurant, they're not declaring sales unless you specifically ask for a fapiao (and even then, half of them will lie and say their machine is broken).
Yeah. I agree. Though it's bit extreme to say `half of them`.
comment 5y ago · link · parent
Average Chinese may not think about paying tax for each sale because it's not printed on the receipt. But the price they pay do include all the taxes incurred to the business.
It's been a while, I remember that the receipts I got from IKEA and 711 do print the exact tax applied to this sale.
comment 5y ago · link · parent
It's still norm to bribe local officials so they will go easy on the businesses, such as speedy things up when dealing with the local gov, not enforcing laws when the business wants to pay less taxes.. etc.
comment 6y ago · link · parent
filecoin is also promoting in China. https://mp.weixin.qq.com/s/T0Qt2CEP7QsA6Zy9Vzvdkw